Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Commit

Permalink
embed haxeui assets into resulting file by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Oct 27, 2014
1 parent cf86645 commit b1c4e31
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 13 deletions.
4 changes: 1 addition & 3 deletions application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
<assets path="assets/ui" rename="ui" />

<!-- optimize output -->
<!--
<haxeflag name="-D openfl-next" />
-->
<haxeflag name="-D next" />
<haxeflag name="-dce std" if="haxe3" />
<!--haxeflag name="-xml" value="docs/haxe-ui-toolkit.xml" /-->
</project>
21 changes: 19 additions & 2 deletions assets/test2.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>


<!--
<listview width="100%" height="100%">
<itemrenderer>
<hbox>
Expand All @@ -22,21 +21,39 @@
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1b", "some2": "thing2b", "some3": "thing3b", "some4": "thing4b" },
{"text": "The Group 2", "divider": true},
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1c", "some2": "thing2c", "some3": "thing3c", "some4": "thing4c" },
{"thumbnail": "img/slinky_small.jpg", "some1": "thing1d", "some2": "thing2d", "some3": "thing3d", "some4": "thing4d" }

]
</json>
</listview>
-->

<!--
<vbox x="20" y="20" width="200" height="200" style="backgroundColor: 0xFF0000;cornerRadiusBottomRight: 10">
</vbox>
-->

<!--
<listSelector x="350" y="50" text="aaa" width="300" autoSize="true" style="fontSize:30;">
<array>aaa,bbb,ccc</array>
</listSelector>
-->

<!-- hbox width="300" height="200" autoSize="false" -->

Expand Down
Binary file modified haxelib/haxeui.zip
Binary file not shown.
10 changes: 6 additions & 4 deletions haxelib/include.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<project>
<assets path="styles" exclude="*.css" rename="styles" if="html5" />
<assets path="styles" rename="styles" unless="html5" />
<assets path="img" rename="img" />
<assets path="fonts" rename="fonts" />
<haxelib name="openfl" />
<haxelib name="actuate" />
<assets path="styles" exclude="*.css" rename="styles" if="html5" embed="true" />
<assets path="styles" rename="styles" unless="html5" embed="true"/>
<assets path="img" rename="img" embed="true"/>
<assets path="fonts" rename="fonts" embed="true"/>
<classpath name="styles" />
<classpath name="fonts" />
</project>
10 changes: 6 additions & 4 deletions include.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<project>
<assets path="styles" exclude="*.css" rename="styles" if="html5" />
<assets path="styles" rename="styles" unless="html5" />
<assets path="img" rename="img" />
<assets path="fonts" rename="fonts" />
<haxelib name="openfl" />
<haxelib name="actuate" />
<assets path="styles" exclude="*.css" rename="styles" if="html5" embed="true" />
<assets path="styles" rename="styles" unless="html5" embed="true"/>
<assets path="img" rename="img" embed="true"/>
<assets path="fonts" rename="fonts" embed="true"/>
<classpath name="styles" />
<classpath name="fonts" />
</project>

0 comments on commit b1c4e31

Please sign in to comment.