added GuiBuilder

This commit is contained in:
2013-08-27 10:34:25 +02:00
parent 752d0dd413
commit fdb2c0decb
8 changed files with 118 additions and 31 deletions

20
examples/form.json Executable file
View File

@@ -0,0 +1,20 @@
{
"type":"haxework.gui.GroupView",
"layoutHAlign":"~haxework.gui.core.HAlign:CENTER",
"layoutVAlign":"~haxework.gui.core.VAlign:MIDDLE",
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xff0000"},
"views":[
{
"type":"haxework.gui.View",
"pWidth":70,
"pHeight":70,
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0x00ff00"}
},
{
"type":"haxework.gui.View",
"width":50,
"height":50,
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0x0000ff"}
}
]
}