mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 12:26:14 +00:00
a3b394c507
Initial layout
88 lines
2.1 KiB
JSON
88 lines
2.1 KiB
JSON
/********************************************************
|
|
+* (c) Mojang. All rights reserved *
|
|
+* (c) Microsoft. All rights reserved. *
|
|
+*********************************************************/
|
|
|
|
{
|
|
"namespace": "adhoc_inprogress",
|
|
|
|
"title_text": {
|
|
"type": "label",
|
|
"layer": 1,
|
|
"text": "nx.adhoc.title",
|
|
"color": "$title_text_color",
|
|
"shadow": false
|
|
},
|
|
|
|
"main_panel": {
|
|
"type": "panel",
|
|
"size": "$dialog_size",
|
|
"controls": [
|
|
{
|
|
"common_panel@common.common_panel": {
|
|
"size": [ "100%", "100%" ],
|
|
"$dialog_background": "dialog_background_hollow_3"
|
|
}
|
|
},
|
|
{
|
|
"title@adhoc.title_text": {
|
|
"offset": [ 10, 9 ],
|
|
"size": [ "100%", 15 ],
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle",
|
|
"text": "#adhoc_title",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#adhoc_title"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"main_content": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%-21px", "100%-52px" ],
|
|
"offset": [ 10, 24 ],
|
|
"type": "label",
|
|
"layer": 1,
|
|
"text": "thirdPartyConsole.adhoc.inprogress",
|
|
"color": "$sub_header_text_color",
|
|
"shadow": false
|
|
}
|
|
},
|
|
{
|
|
"progress_loading_bars@play.progress_loading_bars": {
|
|
"offset": [ 0, 20 ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
// -----------------------------------------------
|
|
//
|
|
// screen
|
|
//
|
|
// -----------------------------------------------
|
|
|
|
"adhoc_inprogress_screen@common.base_screen": {
|
|
"$dialog_size": [ 200, 100 ],
|
|
"$screen_content": "adhoc_inprogress.adhoc_inprogress_screen_content"
|
|
},
|
|
|
|
"adhoc_inprogress_screen_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"root_panel": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{ "main_panel@adhoc_inprogress.main_panel": { "layer": 1 } }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |