added GuiBuilder
This commit is contained in:
20
examples/form.json
Executable file
20
examples/form.json
Executable 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"}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user