This commit is contained in:
2018-01-05 18:01:51 +03:00
parent fbbeec9c86
commit 54abb75102
23 changed files with 248 additions and 676 deletions

View File

@@ -1,50 +0,0 @@
{
"pWidth": 100, "pHeight": 100, "layoutMargin": 3,
"views": [
{
"@type": "haxework.gui.LabelView",
"pWidth": 100, "height": 44, "text": "Authorization",
"@style": "label"
},
{
"@type": "haxework.gui.HGroupView",
"contentSize": true,
"views": [
{
"@type": "haxework.gui.LabelView",
"width": 150, "height": 44, "text": "Login",
"@style": "label"
},
{
"id": "loginInput", "@type": "haxework.gui.InputView",
"width": 220, "height": 44, "text": "",
"@style": "input"
}
]
},
{
"@type": "haxework.gui.HGroupView",
"contentSize": true,
"views": [
{
"@type": "haxework.gui.LabelView",
"width": 150, "height": 44, "text": "Password",
"@style": "label"
},
{
"id": "passwordInput", "@type": "haxework.gui.InputView",
"width": 220, "height": 44, "text": "",
"@style": "input"
}
]
},
{
"id": "authButton",
"@type": "haxework.gui.ButtonView",
"width": 132, "height": 44,
"text": "Submit",
"@style": "button_skin"
}
]
}

View File

@@ -1,20 +0,0 @@
{
"pWidth": 100, "pHeight": 100,
"views": [
{
"id": "create", "@type": "haxework.gui.ButtonView",
"width": 132, "height": 44,
"text": "Create",
"@style": "button_skin"
},
{
"id": "list", "@type": "haxework.gui.list.VListView<ru.m.tankz.proto.Game>",
"factory": "@class:ru.m.tankz.view.frames.list.GameView",
"scroll": {
"@type": "haxework.gui.list.VScrollView",
"skin": {"@type": "haxework.gui.list.VScrollSkin"}
},
"pWidth": 100, "pHeight": 100, "layoutMargin": 5
}
]
}

View File

@@ -1,26 +0,0 @@
{
"pWidth": 100, "pHeight": 100,
"views": [
{
"id": "start", "@type": "haxework.gui.ButtonView",
"width": 132, "height": 44,
"text": "Start",
"@style": "button_skin"
},
{
"id": "exit", "@type": "haxework.gui.ButtonView",
"width": 132, "height": 44,
"text": "Exit",
"@style": "button_skin"
},
{
"id": "list", "@type": "haxework.gui.list.VListView<ru.m.tankz.proto.Person>",
"factory": "@class:ru.m.tankz.view.frames.list.PersonView",
"scroll": {
"@type": "haxework.gui.list.VScrollView",
"skin": {"@type": "haxework.gui.list.VScrollSkin"}
},
"pWidth": 100, "pHeight": 100, "layoutMargin": 5
}
]
}

View File

@@ -1,19 +0,0 @@
{
"pWidth": 100, "pHeight": 100, "layoutMargin": 3, "paddings": 10,
"views": [
{
"@type": "haxework.gui.LabelView",
"pWidth": 100, "height": 44, "text": "Person select",
"@style": "label"
},
{
"id": "list", "@type": "haxework.gui.list.VListView<ru.m.tankz.proto.Person>",
"factory": "@class:ru.m.tankz.view.frames.list.PersonView",
"scroll": {
"@type": "haxework.gui.list.VScrollView",
"skin": {"@type": "haxework.gui.list.VScrollSkin"}
},
"pWidth": 100, "pHeight": 100, "layoutMargin": 5
}
]
}

View File

@@ -2,30 +2,6 @@
"@type": "haxework.gui.VGroupView",
"pWidth": 100, "pHeight": 100,
"views": [
{
"visible": false, "inLayout": false,
"id":"top", "@type": "haxework.gui.HGroupView",
"pWidth": 100, "height": 44,
"skin": {
"@type": "haxework.gui.skin.BitmapSkin",
"image": "@asset:image:resources/images/map/map_5.png",
"fillType": "REPEAT"
},
"views": [
{
"id": "name", "@type": "haxework.gui.LabelView",
"pWidth": 100, "height": 44,
"text": "@res:text:userName",
"@style": "label"
},
{
"id": "logout", "@type": "haxework.gui.ButtonView",
"width": 132, "height": 44,
"text": "Logout",
"@style": "button_skin"
}
]
},
{
"id": "switcher", "@type": "haxework.gui.frame.FrameSwitcher",
"pWidth": 100, "pHeight": 100,
@@ -39,22 +15,6 @@
"id": "start",
"@type": "ru.m.tankz.view.frames.StartFrame"
},
{
"id": "auth",
"@type": "ru.m.tankz.view.frames.AuthFrame"
},
{
"id": "person_list",
"@type": "ru.m.tankz.view.frames.PersonListFrame"
},
{
"id": "game_list",
"@type": "ru.m.tankz.view.frames.GameListFrame"
},
{
"id": "game_ready",
"@type": "ru.m.tankz.view.frames.GameReadyFrame"
},
{
"id": "game",
"@type": "ru.m.tankz.view.frames.GameFrame"