[client] LevelFrame
This commit is contained in:
21
src/client/haxe/layout/frames/level.json
Normal file
21
src/client/haxe/layout/frames/level.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"pWidth": 100, "pHeight": 100,
|
||||
"views": [
|
||||
{
|
||||
"id":"levels", "@type":"haxework.gui.list.VListView<Int>",
|
||||
"factory": "@class:ru.m.tankz.view.frames.list.LevelView",
|
||||
"pWidth":100,
|
||||
"pHeight":100,
|
||||
"paddings":10,
|
||||
"scroll":{
|
||||
"@type":"haxework.gui.list.VScrollView",
|
||||
"width":10, "pHeight":100,
|
||||
"skin":{"@type":"haxework.gui.list.VScrollSkin"}
|
||||
},
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.ColorSkin",
|
||||
"color": "0x000000", "alpha": 0.0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -15,6 +15,10 @@
|
||||
"id": "start",
|
||||
"@type": "ru.m.tankz.view.frames.StartFrame"
|
||||
},
|
||||
{
|
||||
"id": "level",
|
||||
"@type": "ru.m.tankz.view.frames.LevelFrame"
|
||||
},
|
||||
{
|
||||
"id": "game",
|
||||
"@type": "ru.m.tankz.view.frames.GameFrame"
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
{
|
||||
"person": {
|
||||
"level": {
|
||||
"width": 440, "height": 44,
|
||||
"margins": 5,
|
||||
"views": [
|
||||
{
|
||||
"id": "nameLabel",
|
||||
"id": "label",
|
||||
"@type": "haxework.gui.LabelView",
|
||||
"pWidth": 100, "height": 44, "text": "Выбор персонажа",
|
||||
"pWidth": 100, "pHeight": 100, "text": "",
|
||||
"@style": "label"
|
||||
}
|
||||
]
|
||||
],
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.ColorSkin",
|
||||
"color": "0x000000", "alpha": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user