[client] LevelFrame

This commit is contained in:
2018-01-26 14:38:36 +03:00
parent d72d7e8c81
commit 6a00ee83d7
50 changed files with 120 additions and 65 deletions

View 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
}
}
]
}

View File

@@ -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"

View File

@@ -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
}
}
}