94 lines
2.9 KiB
JSON
Executable File
94 lines
2.9 KiB
JSON
Executable File
{
|
|
"type":"haxework.frame.FrameSwitcher",
|
|
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0x000000"},
|
|
"views":[
|
|
{
|
|
"id":"auth", "type":"ru.m.tankz.view.frames.AuthFrame",
|
|
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xa0a0a0"},
|
|
"pWidth":100, "pHeight":100, "layoutMargin":3,
|
|
"views":[
|
|
{
|
|
"id":"login", "type":"haxework.gui.HGroupView",
|
|
"contentSize":true,
|
|
"views":[
|
|
{
|
|
"type":"haxework.gui.LabelView",
|
|
"width":150, "height":25, "text":"Login"
|
|
},
|
|
{
|
|
"id":"input", "type":"haxework.gui.InputView",
|
|
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xffffff"},
|
|
"width":200, "height":25, "text":""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id":"password", "type":"haxework.gui.HGroupView",
|
|
"contentSize":true,
|
|
"views":[
|
|
{
|
|
"type":"haxework.gui.LabelView",
|
|
"width":150, "height":25, "text":"Password"
|
|
},
|
|
{
|
|
"id":"input", "type":"haxework.gui.InputView",
|
|
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xffffff"},
|
|
"width":200, "height":25, "text":""
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"id":"auth",
|
|
"type":"haxework.gui.ButtonView",
|
|
"width":100,
|
|
"height":30,
|
|
"skin":{"type":"haxework.gui.skin.ButtonColorSkin"},
|
|
"text":"Auth"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
"id":"person", "type":"ru.m.tankz.view.frames.PersonFrame",
|
|
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xa0a0a0"},
|
|
"pWidth":100, "pHeight":100, "layoutMargin":3, "paddings":10,
|
|
"views":[
|
|
{
|
|
"id":"list", "type":"haxework.gui.list.VListView",
|
|
"factory":{
|
|
"type":"~ru.m.tankz.view.frames.person.PersonView"
|
|
},
|
|
"scroll":{
|
|
"type":"haxework.gui.list.VScrollView",
|
|
"skin":{"type":"haxework.gui.list.VScrollSkin"}
|
|
},
|
|
"pWidth":100, "pHeight":100, "layoutMargin":5
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"id":"game", "type":"ru.m.tankz.view.frames.GameFrame",
|
|
"skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xa0a0a0"},
|
|
"pWidth":100, "pHeight":100,
|
|
"views":[
|
|
{
|
|
"id":"name", "type":"haxework.gui.LabelView",
|
|
"pWidth":100, "height":25, "text":""
|
|
},
|
|
{
|
|
"id":"logout", "type":"haxework.gui.ButtonView",
|
|
"width":100, "height":30,
|
|
"skin":{"type":"haxework.gui.skin.ButtonColorSkin"},
|
|
"text":"Logout"
|
|
},
|
|
{
|
|
"id":"render", "type":"ru.m.tankz.render.Render",
|
|
"contentSize":true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |