update
This commit is contained in:
@@ -1,18 +1,29 @@
|
||||
{
|
||||
"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": 25, "text": "Login"
|
||||
"width": 150, "height": 44, "text": "Login",
|
||||
"@style": "label"
|
||||
},
|
||||
{
|
||||
"id": "loginInput", "@type": "haxework.gui.InputView",
|
||||
"skin": {"@type": "haxework.gui.skin.ColorSkin", "color": "0xffffff"},
|
||||
"width": 200, "height": 25, "text": ""
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_3-0.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"width": 220, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -22,12 +33,18 @@
|
||||
"views": [
|
||||
{
|
||||
"@type": "haxework.gui.LabelView",
|
||||
"width": 150, "height": 25, "text": "Password"
|
||||
"width": 150, "height": 44, "text": "Password",
|
||||
"@style": "label"
|
||||
},
|
||||
{
|
||||
"id": "passwordInput", "@type": "haxework.gui.InputView",
|
||||
"skin": {"@type": "haxework.gui.skin.ColorSkin", "color": "0xffffff"},
|
||||
"width": 200, "height": 25, "text": ""
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_3-0.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"width": 220, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -35,8 +52,8 @@
|
||||
{
|
||||
"id": "authButton",
|
||||
"@type": "haxework.gui.ButtonView",
|
||||
"width": 100, "height": 45,
|
||||
"text": "Auth",
|
||||
"width": 132, "height": 44,
|
||||
"text": "Submit",
|
||||
"@style": "button_skin"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
"views": [
|
||||
{
|
||||
"id": "name", "@type": "haxework.gui.LabelView",
|
||||
"pWidth": 100, "height": 25, "text": ""
|
||||
"pWidth": 100, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
},
|
||||
{
|
||||
"id": "render", "@type": "ru.m.tankz.render.Render",
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
"views": [
|
||||
{
|
||||
"id": "name", "@type": "haxework.gui.LabelView",
|
||||
"pWidth": 100, "height": 25, "text": ""
|
||||
"pWidth": 100, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
},
|
||||
{
|
||||
"id": "create", "@type": "haxework.gui.ButtonView",
|
||||
"width": 100, "height": 45,
|
||||
"width": 132, "height": 44,
|
||||
"text": "Create",
|
||||
"@style": "button_skin"
|
||||
},
|
||||
|
||||
@@ -3,17 +3,18 @@
|
||||
"views": [
|
||||
{
|
||||
"id": "name", "@type": "haxework.gui.LabelView",
|
||||
"pWidth": 100, "height": 25, "text": ""
|
||||
"pWidth": 100, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
},
|
||||
{
|
||||
"id": "start", "@type": "haxework.gui.ButtonView",
|
||||
"width": 100, "height": 45,
|
||||
"width": 132, "height": 44,
|
||||
"text": "Start",
|
||||
"@style": "button_skin"
|
||||
},
|
||||
{
|
||||
"id": "exit", "@type": "haxework.gui.ButtonView",
|
||||
"width": 100, "height": 45,
|
||||
"width": 132, "height": 44,
|
||||
"text": "Exit",
|
||||
"@style": "button_skin"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"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",
|
||||
|
||||
@@ -4,12 +4,22 @@
|
||||
"views": [
|
||||
{
|
||||
"id":"top", "@type": "haxework.gui.HGroupView",
|
||||
"pWidth": 100, "height": 30,
|
||||
"skin": {"@type": "haxework.gui.skin.ColorSkin", "color": "0x105000"},
|
||||
"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": 100, "height": 30,
|
||||
"width": 132, "height": 44,
|
||||
"text": "Logout",
|
||||
"@style": "button_skin"
|
||||
}
|
||||
@@ -18,7 +28,11 @@
|
||||
{
|
||||
"id": "switcher", "@type": "haxework.gui.frame.FrameSwitcher",
|
||||
"pWidth": 100, "pHeight": 100,
|
||||
"skin": {"@type": "haxework.gui.skin.BitmapSkin", "image": "@asset:image:resources/images/background.png", "fillType": "REPEAT"},
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_1.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"views": [
|
||||
{
|
||||
"id": "auth",
|
||||
|
||||
18
src/client/haxe/layout/other.json
Normal file
18
src/client/haxe/layout/other.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"person": {
|
||||
"width": 440, "height": 44,
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_3-0.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"views": [
|
||||
{
|
||||
"id": "nameLabel",
|
||||
"@type": "haxework.gui.LabelView",
|
||||
"pWidth": 100, "height": 44, "text": "Выбор персонажа",
|
||||
"@style": "label"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -2,11 +2,21 @@
|
||||
"button_skin": {
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.ButtonBitmapSkin",
|
||||
"upImage": "@asset:image:resources/images/control/button_normal.png",
|
||||
"downImage": "@asset:image:resources/images/control/button_down.png",
|
||||
"overImage": "@asset:image:resources/images/control/button_over.png",
|
||||
"fillType": "NINEPATH"
|
||||
"image": "@asset:image:resources/images/map/map_4.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"fontColor": "0xffffff"
|
||||
"fontColor": "0xffffff",
|
||||
"fontEmbed": true,
|
||||
"fontFamily": "@res:text:fontName",
|
||||
"fontSize": 16,
|
||||
"shadowColor": "0x000000"
|
||||
},
|
||||
|
||||
"label": {
|
||||
"fontColor": "0xffffff",
|
||||
"fontEmbed": true,
|
||||
"fontFamily": "@res:text:fontName",
|
||||
"fontSize": 16,
|
||||
"shadowColor": "0x000000"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user