big update
This commit is contained in:
46
src/client/haxe/layout/main.json
Executable file
46
src/client/haxe/layout/main.json
Executable file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"@type": "haxework.gui.VGroupView",
|
||||
"pWidth": 100, "pHeight": 100,
|
||||
"views": [
|
||||
{
|
||||
"id":"top", "@type": "haxework.gui.HGroupView",
|
||||
"pWidth": 100, "height": 30,
|
||||
"skin": {"@type": "haxework.gui.skin.ColorSkin", "color": "0x105000"},
|
||||
"views": [
|
||||
{
|
||||
"id": "logout", "@type": "haxework.gui.ButtonView",
|
||||
"width": 100, "height": 30,
|
||||
"text": "Logout",
|
||||
"@style": "button_skin"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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"},
|
||||
"views": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user