mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-27 04:38:56 +00:00
6420 lines
207 KiB
JSON
6420 lines
207 KiB
JSON
{
|
|
"namespace": "pdp",
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Floating Controls
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"download_progress": {
|
|
"type": "image",
|
|
"texture": "textures/ui/Banners",
|
|
"layer": 1,
|
|
"$baseLayer|default": 2,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_name": "#download_info_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"stacker": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%" ],
|
|
"controls": [
|
|
{
|
|
"sizer_text": {
|
|
"type": "panel",
|
|
"size": [ "100%", "50%" ],
|
|
"controls": [
|
|
{
|
|
"download_progress_text": {
|
|
"type": "label",
|
|
"layer": "($baseLayer + 1)",
|
|
"size": [ "70%", "100%" ],
|
|
"offset": [ 0, "50%" ],
|
|
"color": "$body_text_color",
|
|
"text": "#text",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_name": "#download_info_text",
|
|
"binding_name_override": "#text",
|
|
"binding_condition": "always_when_visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"sizer_bar": {
|
|
"type": "panel",
|
|
"size": [ "100%", "50%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_name": "#download_progress_bar_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"download_progress_bar@common_store.store_progress_bar_icon": {
|
|
"size": [ "70%", 5 ],
|
|
"layer": "($baseLayer + 1)",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"$progress_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#download_progress",
|
|
"binding_name_override": "#clip_ratio",
|
|
"binding_condition": "always_when_visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"summary_box_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"$button_text_bind_name|default": "#main_button_text",
|
|
"$button_action|default": "button.defaultNoAction",
|
|
"$interact_button_id|default": "interact_button",
|
|
"$progress_loading_focus_precedence|default": 0,
|
|
|
|
"$focus_override_left": "author_button",
|
|
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
|
"controls": [
|
|
{
|
|
"buttons_panel@pdp.smooth_buttons_panel": {
|
|
"$is_primary_purchase_button": true
|
|
}
|
|
},
|
|
{
|
|
"download_buttons_panel@pdp.download_buttons_panel": {}
|
|
},
|
|
{
|
|
"focus_border@pdp.focus_border": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"interaction_button_content": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"line1_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"upsell_text": {
|
|
"type": "label",
|
|
"size": [ "100%", "default" ],
|
|
"max_size": [ "100%", "default" ],
|
|
"$offset|default": [ 0, 0 ],
|
|
"offset": "$offset",
|
|
"$font_type|default": "default",
|
|
"font_type": "$font_type",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"text_alignment": "center",
|
|
"color": "$text_color",
|
|
|
|
"$button_text_bind_name|default": "#interaction_button_text",
|
|
"text": "$button_text_bind_name",
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$button_text_bind_name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"interaction_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 30 ],
|
|
"$interact_button_id|default": "interact_button",
|
|
"$progress_loading_focus_precedence|default": 0,
|
|
"$font_type": "default",
|
|
"controls": [
|
|
{
|
|
"content_action_button@common_buttons.light_content_button": {
|
|
"$button_content": "pdp.interaction_button_content",
|
|
"$button_focus_precedence|default": 9,
|
|
"$pressed_button_name": "button.interaction",
|
|
"$focus_id": "$interact_button_id",
|
|
"visible": false,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#interation_button_enabled",
|
|
"binding_name_override": "#enabled"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#interaction_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"progress_bar@pdp.download_progress": {}
|
|
},
|
|
{
|
|
"focus_border@pdp.focus_border": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"download_progress_small@purchase_common.banner_fill": {
|
|
"$baseLayer|default": 2,
|
|
"controls": [
|
|
{
|
|
"stacker": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"sizer_text": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"download_progress_text": {
|
|
"type": "label",
|
|
"layer": "($baseLayer +2)",
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"size": [ "90%", 10 ],
|
|
"offset": [ 0, "25%" ],
|
|
"color": "$body_text_color",
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 0.8,
|
|
"text": "#text",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#download_info_text",
|
|
"binding_name_override": "#text",
|
|
"binding_condition": "always_when_visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"sizer_bar": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#download_progress_bar_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"download_progress_bar@common_store.store_progress_bar_icon": {
|
|
"size": [ "90%", 5 ],
|
|
"layer": "($baseLayer + 1)",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"$progress_bindings": [
|
|
{
|
|
"binding_name": "#download_progress_bar_percentage",
|
|
"binding_name_override": "#clip_ratio",
|
|
"binding_condition": "always_when_visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"progress_loading_anim@common_store.progress_loading": {
|
|
"$hide_failure_text": true,
|
|
"$hide_progress_loading_outline": true,
|
|
"size": [ "100%", 10 ],
|
|
"layer": 3,
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"visible": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#progress_loading_anim_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"focus_border@common.button": {
|
|
"size": [ "100%", "100%c" ],
|
|
"default_focus_precedence": "$progress_loading_focus_precedence",
|
|
"$pressed_button_name": "",
|
|
"layer": 6,
|
|
"controls": [
|
|
{
|
|
"default": {
|
|
"type": "image",
|
|
"size": [ "100%", "100%c" ],
|
|
"texture": "textures/ui/Banners",
|
|
"controls": [
|
|
{
|
|
"loading_anim@pdp.progress_loading_anim": {} //Looks like this is just super imposed on top
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"hover@common_buttons.focus_border": {
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"loading_anim@pdp.progress_loading_anim": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pressed@common_buttons.focus_border": {
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"loading_anim@pdp.progress_loading_anim": {}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#progress_loading_anim_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"purchase_button_base@common_buttons.light_content_button": {
|
|
"$pressed_button_name": "$button_action",
|
|
"$focus_id": "$interact_button_id",
|
|
"size": [ "100%", 20 ],
|
|
"$focus_border_size_override": [ "100%", 20 ],
|
|
"$button_image_size_override": [ "100% - 2px", 18 ],
|
|
"$is_purchase_button": true,
|
|
"enabled": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#purchase_buttons_enabled",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
]
|
|
},
|
|
|
|
"deactivated_purchase_button_base@common_buttons.deactivated_light_content_button": {
|
|
"$pressed_button_name": "$button_action",
|
|
"$focus_id": "$interact_button_id",
|
|
"size": [ "100%", 20 ],
|
|
"$focus_border_size_override": [ "100%", 20 ],
|
|
"$button_image_size_override": [ "100% - 2px", 18 ]
|
|
},
|
|
|
|
"download_buttons_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100% - 8px", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "vertical",
|
|
"$button_action|default": "button.defaultNoAction",
|
|
"$interact_button_id|default": "interact_button",
|
|
"visible": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#download_info_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"progress_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100%", 30 ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "horizontal",
|
|
"$button_action|default": "button.defaultNoAction",
|
|
"$interact_button_id|default": "interact_button",
|
|
"controls": [
|
|
{
|
|
"progress_bar@pdp.download_progress_small": {}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"smooth_purchase_buttons_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100%", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "vertical",
|
|
"visible": false,
|
|
"controls": [
|
|
{
|
|
"activated_purchase_buttons_panel@pdp.activated_smooth_purchase_buttons_panel": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#activated_purchase_panel_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"deactivated_purchase_buttons_panel@pdp.deactivated_smooth_purchase_buttons_panel": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#deactivated_purchase_panel_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"smooth_buttons_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100% - 4px", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "vertical",
|
|
"$button_action|default": "button.defaultNoAction",
|
|
"$interact_button_id|default": "interact_button",
|
|
"visible": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#buttons_panel_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#buttons_panel_visible",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"purchase_buttons_panel@pdp.smooth_purchase_buttons_panel": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#purchase_panel_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"interact_filling_button@common_buttons.light_text_button": {
|
|
"layer": 3,
|
|
"$button_focus_precedence": 9,
|
|
"$pressed_button_name": "$button_action",
|
|
"$button_text": "#interact_button_text",
|
|
"$button_action": "button.interact_button",
|
|
"$focus_id": "$interact_button_id",
|
|
"$button_binding_condition": "visible",
|
|
"$button_text_binding_type": "global",
|
|
"size": [ "100%", 20 ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#action_button_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#action_button_enabled",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"interact_exit_world_filling_button@common_buttons.deactivated_light_content_button": {
|
|
"$pressed_button_name": "$button_action",
|
|
"$button_size_override": [ "100%", "100%c" ],
|
|
"$focus_border_size_override": [ "100%", "100%c + 2px" ],
|
|
"$button_image_size_override": [ "100% - 2px", "100%c + 2px" ],
|
|
"$button_content_size_override": [ "100% - 4px", "100%c + 6px" ],
|
|
"$button_state_panel": "common_buttons.new_ui_form_fitting_button_panel",
|
|
"$button_action": "button.must_exit_world_error_dialog",
|
|
"$focus_id": "$interact_button_id",
|
|
"$button_binding_condition": "visible",
|
|
"$button_content": "pdp.disabled_interact_label_formfitting",
|
|
"$button_type_panel": "common_buttons.height_fitting_button_content_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"$anchor": "top_left",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#exit_world_button_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "view",
|
|
"source_property_name": "#visible",
|
|
"target_property_name": "#enabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"disabled_interact_label_formfitting": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"use_priority": true,
|
|
"controls": [
|
|
{
|
|
"info_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/infobulb",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ 9, 12 ],
|
|
"priority": 1
|
|
}
|
|
},
|
|
{
|
|
"info_icon_pad": {
|
|
"priority": 1,
|
|
"type": "panel",
|
|
"size": [ 2, 0 ]
|
|
}
|
|
},
|
|
{
|
|
"interact_label_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"interact_label_text_left@pdp.interact_label_text": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ 2, 0 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"interact_label_text": {
|
|
"type": "label",
|
|
"size": [ "100%", "default" ],
|
|
"color": "$text_color",
|
|
"text_alignment": "left",
|
|
"text": "#interact_button_text",
|
|
"$purchase_price_font_type|default": "default",
|
|
"font_type": "$purchase_price_font_type",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#interact_button_text"
|
|
}
|
|
]
|
|
},
|
|
|
|
"activated_smooth_purchase_buttons_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100%", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "vertical",
|
|
"$has_real_money_button|default": false,
|
|
"$button_action|default": "button.defaultNoAction",
|
|
"$interact_button_id|default": "interact_button",
|
|
"$is_purchase_button": true,
|
|
"visible": false,
|
|
"controls": [
|
|
{
|
|
"purchase_coins_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"smooth_purchase_with_coins_button@pdp.purchase_button_base": {
|
|
"$button_focus_precedence": 8,
|
|
"$button_action": "button.purchase_with_coins",
|
|
"$interact_button_id|default": "button.purchase_with_coins",
|
|
"$button_content": "pdp.smooth_coin_purchase_label_formfitting"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_h1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 3 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#currency_purchase_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"purchase_currency_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#currency_purchase_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"purchase_with_currency_button@pdp.purchase_button_base": {
|
|
"$button_focus_precedence": 10,
|
|
"$button_action": "button.purchase_with_currency",
|
|
"$button_content": "pdp.currency_purchase_label",
|
|
"$text_size": [ "100%", "100%" ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"deactivated_smooth_purchase_buttons_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100%", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "vertical",
|
|
"$has_real_money_button|default": false,
|
|
"$button_action": "button.purchase_error_dialog",
|
|
"$interact_button_id|default": "interact_button",
|
|
"$is_purchase_button": true,
|
|
"controls": [
|
|
{
|
|
"purchase_coins_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"deactivated_smooth_purchase_with_coins_button@pdp.deactivated_purchase_button_base": {
|
|
"enabled": true,
|
|
"$button_focus_precedence": 8,
|
|
"$interact_button_id|default": "button.purchase_with_coins",
|
|
"$button_content": "pdp.disabled_smooth_coin_purchase_label_formfitting",
|
|
"$is_purchase_button": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_h1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 3 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#currency_purchase_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"purchase_currency_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#currency_purchase_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"deactivated_purchase_with_currency_button@pdp.deactivated_purchase_button_base": {
|
|
"$button_focus_precedence": 10,
|
|
"$button_content": "pdp.currency_purchase_label",
|
|
"$text_size": [ "100%", "100%" ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"smooth_save_share_button_panel": {
|
|
"type": "stack_panel",
|
|
"layer": 3,
|
|
"size": [ "100%c", 20 ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"ignored": "(not $supports_clipboard_set and not $supports_share)",
|
|
"size": [ 2, "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#share_button_enabled",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"share_button@common_buttons.light_content_button": {
|
|
"type": "button",
|
|
"ignored": "(not $supports_clipboard_set and not $supports_share)",
|
|
"size": [ 24, "100%" ],
|
|
"$button_focus_precedence": 7,
|
|
"$pressed_button_name": "button.share",
|
|
"$button_content": "pdp.share_label",
|
|
"$button_tts_header": "accessibility.store.offerDescription.share",
|
|
"$focus_id": "share_button",
|
|
"$focus_override_up": "interact_button",
|
|
"$focus_override_down": "read_more_button",
|
|
"$focus_override_left": "rating_button",
|
|
"$focus_override_right": "save_button",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#share_button_enabled",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"save_button@common_buttons.light_content_button": {
|
|
"type": "button",
|
|
"size": [ 24, "100%" ],
|
|
"$button_focus_precedence": 8,
|
|
"$pressed_button_name": "button.save",
|
|
"$button_content": "pdp.save_label_panel",
|
|
"$button_tts_header": "accessibility.store.wishlist.button",
|
|
"$focus_id": "save_button",
|
|
"$focus_override_up": "interact_button",
|
|
"$focus_override_down": "read_more_button",
|
|
"$focus_override_left": "share_button",
|
|
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#wishlist_button_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#wishlist_button_enabled",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"currency_purchase_label": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"controls": [
|
|
{
|
|
"currency_purchase_label_text": {
|
|
"type": "label",
|
|
"$text_size|default": [ "100%", 10 ],
|
|
"color": "$text_color",
|
|
"size": "$text_size",
|
|
"$currency_purchase_label_offset|default": [ 0.5, 2 ],
|
|
"offset": "$currency_purchase_label_offset",
|
|
"text_alignment": "center",
|
|
"text": "#purchase_with_currency_button_text",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#purchase_with_currency_button_text"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"coin_image@common_store.coin_icon": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#coin_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
"smooth_currency_purchase_label": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"currency_purchase_label_text": {
|
|
"type": "label",
|
|
"color": "$light_button_default_text_color",
|
|
"size": [ "100%", "default" ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"text_alignment": "center",
|
|
"text": "#purchase_with_currency_button_text",
|
|
"font_type": "smooth",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#purchase_with_currency_button_text"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"large_button_markdown_background": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"$markdown_size|default": [ "100%c", "100%" ],
|
|
"size": "$markdown_size",
|
|
"$markdown_offset|default": [ -1, 0 ],
|
|
"offset": "$markdown_offset",
|
|
"$markdown_label|default": "common.empty_panel",
|
|
"$banner_size": [ "100%", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"banner@common_store.markdown_banner": {
|
|
"$markdown_label": "pdp.discount_label",
|
|
"size": [ "100%c", "100%" ],
|
|
"offset": [ -3, 0 ], // account for button sizing ($button_content_size_override)
|
|
"$banner_size": [ "26px", "100%" ],
|
|
"$triangle_offset": [ 0, 0 ],
|
|
"layer": 9,
|
|
"$triangle_texture": "textures/ui/saleflagtrianglebeveldefault",
|
|
"$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag"
|
|
}
|
|
},
|
|
{
|
|
"triangle_panel": {
|
|
"type": "panel",
|
|
"size": [ "50%y", "100%" ],
|
|
"$triangle_offset|default": [ -1, 0 ],
|
|
"controls": [
|
|
{
|
|
"triangle@common_store.markdown_triangle": {
|
|
"size": [ "100%", "100%" ],
|
|
"offset": "$triangle_offset",
|
|
"layer": 2,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"discount_label": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"$discount_label_font|default": "smooth",
|
|
"font_type": "$discount_label_font",
|
|
"text": "#markdown_percentage",
|
|
"color": "$store_sales_banner_text_color",
|
|
"$discount_label_offset|default": [ 0, 0 ],
|
|
"offset": "$discount_label_offset",
|
|
"layer": 1,
|
|
"$discount_label_binding_type|default": "global",
|
|
"$discount_label_binding_collection|default": "",
|
|
"tts_override_control_value": "#tts_markdown_percentage",
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$discount_label_binding_type",
|
|
"binding_collection_name": "$discount_label_binding_collection",
|
|
"binding_name": "#markdown_percentage"
|
|
},
|
|
{
|
|
"binding_type": "$discount_label_binding_type",
|
|
"binding_collection_name": "$discount_label_binding_collection",
|
|
"binding_name": "#tts_markdown_percentage"
|
|
}
|
|
]
|
|
},
|
|
|
|
"coin_purchase_label_text": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"color": "$text_color",
|
|
"text_alignment": "center",
|
|
"$purchase_price_offset|default": [ 0, 0 ],
|
|
"offset": "$purchase_price_offset",
|
|
"inherit_max_sibling_height": true,
|
|
"text": "#purchase_with_coins_button_text",
|
|
"$purchase_price_font_type|default": "default",
|
|
"font_type": "$purchase_price_font_type",
|
|
"tts_override_control_value": "#tts_purchase_with_coins_button_text",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#purchase_with_coins_button_text"
|
|
},
|
|
{
|
|
"binding_name": "#tts_purchase_with_coins_button_text"
|
|
}
|
|
]
|
|
},
|
|
|
|
"smooth_coin_purchase_label_formfitting": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%" ],
|
|
"use_priority": true,
|
|
"$coin_image_on_right|default": false,
|
|
"$purchase_price_font_type|default": "smooth",
|
|
"controls": [
|
|
{
|
|
"sales_banner_offset_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"sales_banner_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100% + 4px" ],
|
|
"offset": [ -2, 0 ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"controls": [
|
|
{
|
|
"markdown_banner@common_store.markdown_background": {
|
|
"$markdown_label": "pdp.discount_label",
|
|
"size": [ "100%c", "100%" ],
|
|
"$banner_size": [ "20px", "100%" ],
|
|
"$triangle_offset": [ 0, 0 ],
|
|
"layer": 9,
|
|
"$triangle_texture": "textures/ui/saleflagtrianglebeveldefault",
|
|
"$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"markdown_panel": {
|
|
"priority": 10,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"markdown_label@pdp.price_markdown_panel": {
|
|
"size": [ "100%c + 5px", "100%" ],
|
|
"$strike_thru_offset": [ 0, 0 ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill_pad_left": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_on_sale)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"left_coin_image_offset_panel": {
|
|
"priority": 0,
|
|
"ignored": "$coin_image_on_right",
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin@pdp.coin_image": {
|
|
"offset": [ -1, 0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"coin_purchase_label_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin_purchase_label_text_left@pdp.coin_purchase_label_text": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ 5, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"right_coin_image_offset_panel": {
|
|
"priority": 0,
|
|
"ignored": "(not $coin_image_on_right)",
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin@pdp.coin_image": {
|
|
"offset": [ -3, 0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill_pad_right": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_on_sale)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"disabled_smooth_coin_purchase_label_formfitting": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%" ],
|
|
"use_priority": true,
|
|
"$coin_image_on_right|default": false,
|
|
"$purchase_price_font_type|default": "smooth",
|
|
"controls": [
|
|
{
|
|
"sales_banner_offset_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"sales_banner_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100% + 4px" ],
|
|
"offset": [ -2, 0 ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"controls": [
|
|
{
|
|
"markdown_banner@common_store.markdown_background": {
|
|
"$markdown_label": "pdp.discount_label",
|
|
"size": [ "100%c", "100%" ],
|
|
"$banner_size": [ "20px", "100%" ],
|
|
"$triangle_offset": [ 0, 0 ],
|
|
"layer": 9,
|
|
"$triangle_texture": "textures/ui/saleflagtrianglebeveldefault",
|
|
"$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"markdown_panel": {
|
|
"priority": 10,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"markdown_label@pdp.price_markdown_panel": {
|
|
"size": [ "100%c + 5px", "100%" ],
|
|
"$strike_thru_offset": [ 0, 0 ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill_pad_left": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_on_sale)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"info_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/infobulb",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ 9, 12 ],
|
|
"priority": 1
|
|
}
|
|
},
|
|
{
|
|
"left_coin_image_offset_panel": {
|
|
"priority": 0,
|
|
"ignored": "$coin_image_on_right",
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin@pdp.coin_image": {
|
|
"offset": [ -1, 0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"info_icon_pad": {
|
|
"priority": 1,
|
|
"type": "panel",
|
|
"size": [ 1, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"coin_purchase_label_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin_purchase_label_text_left@pdp.coin_purchase_label_text": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ 1, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"right_coin_image_offset_panel": {
|
|
"priority": 0,
|
|
"ignored": "(not $coin_image_on_right)",
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin@pdp.coin_image": {
|
|
"offset": [ -3, 0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill_pad_right": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_on_sale)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"share_icon": {
|
|
"type": "image",
|
|
"layer": 2,
|
|
"size": "$share_icon_size",
|
|
"texture": "$share_icon_texture",
|
|
"offset": "$share_icon_offset"
|
|
},
|
|
|
|
"share_label": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%" ],
|
|
"offset": [ 0, 1 ],
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"share_image_offset_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"variables": [
|
|
{
|
|
"requires": "($apple_os and $supports_share)",
|
|
"$share_icon_texture": "textures/ui/share_apple",
|
|
"$share_icon_offset": [ 3.5, -1.5 ],
|
|
"$share_icon_size": [ 11, 15 ]
|
|
},
|
|
{
|
|
"requires": "(($microsoft_os or (not $apple_os and not $google_os)) and $supports_share)",
|
|
"$share_icon_texture": "textures/ui/share_microsoft",
|
|
"$share_icon_offset": [ 2.5, -0.5 ],
|
|
"$share_icon_size": [ 15, 13 ]
|
|
},
|
|
{
|
|
"requires": "($google_os and $supports_share)",
|
|
"$share_icon_texture": "textures/ui/share_google",
|
|
"$share_icon_offset": [ 2.0, -0.5 ],
|
|
"$share_icon_size": [ 14, 13 ]
|
|
},
|
|
{
|
|
"requires": "($supports_clipboard_set and not $supports_share)",
|
|
"$share_icon_texture": "textures/ui/copy",
|
|
"$share_icon_offset": [ 2.5, -1.0 ],
|
|
"$share_icon_size": [ 13, 14 ]
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"link_share@share_icon": {
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"save_label_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"heart_image@pdp.save_label": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#wishlist_button_enabled",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"progress_loading@common_store.progress_loading_spinner": {
|
|
"size": [ 12, 12 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #wishlist_button_enabled)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"save_label": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"save_image_offset_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"full_heart": {
|
|
"type": "image",
|
|
"layer": 2,
|
|
"size": [ 12, 12 ],
|
|
"texture": "textures/ui/heart",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_wishlist",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"empty_heart": {
|
|
"type": "image",
|
|
"layer": 1,
|
|
"size": [ 12, 12 ],
|
|
"texture": "textures/ui/heart_background"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"large_button_coin_purchase_label": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%" ],
|
|
"use_priority": true,
|
|
"offset": [ 0, 0 ],
|
|
"orientation": "horizontal",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"$coin_image_on_right|default": false,
|
|
"controls": [
|
|
{
|
|
"markdown_banner_filler_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"$ignore_markdown_filler_panel|default": false,
|
|
"ignored": "$ignore_markdown_filler_panel",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_on_sale)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"center_markdown_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"markdown_banner@common_store.markdown_background": {
|
|
"$markdown_label": "pdp.discount_label",
|
|
"size": [ "100%c", "100% + 4px" ],
|
|
"offset": [ -2, 2 ], // account for button sizing ($button_content_size_override)
|
|
"$banner_size": [ "26px", "100%" ],
|
|
"$triangle_offset": [ 0, 0 ],
|
|
"layer": 8,
|
|
"$triangle_texture": "textures/ui/saleflagtrianglebeveldefault",
|
|
"$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"sales_padding_0": {
|
|
"priority": 10,
|
|
"type": "panel",
|
|
"size": [ 2, "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"price_markdown_panel": {
|
|
"priority": 10,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"price_markdown_label@pdp.price_markdown_panel": {
|
|
"$purchase_price_offset|default": [ 0, 0.5 ],
|
|
"offset": "$purchase_price_offset"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"sales_padding_1": {
|
|
"priority": 10,
|
|
"type": "panel",
|
|
"size": [ 4, "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"left_coin_image_offset_panel": {
|
|
"priority": 0,
|
|
"ignored": "$coin_image_on_right",
|
|
"type": "panel",
|
|
"size": [ "100%c + 2px", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin@pdp.coin_image": {
|
|
"anchor_to": "left_middle",
|
|
"anchor_from": "left_middle"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"coin_purchase_label_panel": {
|
|
"priority": 0,
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin_purchase_label_text@pdp.coin_purchase_label_text": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"right_coin_image_offset_panel": {
|
|
"priority": 0,
|
|
"ignored": "(not $coin_image_on_right)",
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"coin@pdp.coin_image": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"fill_padding_1": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"price_markdown_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"offer_price": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"layer": 4,
|
|
"color": "$text_color",
|
|
"alpha": 0.6,
|
|
"text": "#full_price",
|
|
"tts_override_control_value": "#tts_full_price",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#full_price"
|
|
},
|
|
{
|
|
"binding_name": "#tts_full_price"
|
|
},
|
|
{
|
|
"binding_name": "#is_on_sale",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"text_strike_through@common_store.text_strike_through": {
|
|
"size": [ "100% + 2px", 1 ],
|
|
"$strike_thru_offset|default": [ 0, -1 ],
|
|
"color": "$text_color",
|
|
"offset": "$strike_thru_offset",
|
|
"alpha": 0.6,
|
|
"layer": 5
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vertical_padding_2px": {
|
|
"type": "panel",
|
|
"size": [ 1, 2 ]
|
|
},
|
|
|
|
"vertical_padding_4px": {
|
|
"type": "panel",
|
|
"size": [ 1, 4 ]
|
|
},
|
|
|
|
"vertical_padding_fill": {
|
|
"type": "panel",
|
|
"size": [ 1, "fill" ]
|
|
},
|
|
|
|
"horizontal_padding_2px": {
|
|
"type": "panel",
|
|
"size": [ 2, 1 ]
|
|
},
|
|
|
|
"horizontal_padding_4px": {
|
|
"type": "panel",
|
|
"size": [ 4, 0 ] // Y = 0 since it is used within an object whose Y = 100%c
|
|
},
|
|
|
|
"horizontal_padding_8px": {
|
|
"type": "panel",
|
|
"size": [ 8, 0 ] // Y = 0 since it is used within an object whose Y = 100%c
|
|
},
|
|
|
|
"horizontal_padding_fill": {
|
|
"type": "panel",
|
|
"size": [ "fill", 1 ]
|
|
},
|
|
|
|
"empty_content_panel": {
|
|
"type": "panel",
|
|
"size": [ 0, 0 ]
|
|
},
|
|
|
|
"section_header": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"header_label": {
|
|
"type": "label",
|
|
"size": [ "100% - 4px", "default" ],
|
|
"$content_title_binding_type|default": "$store_factory_binding_type",
|
|
"$content_title_bind_name|default": "#section_header",
|
|
"text": "$content_title_bind_name",
|
|
"font_type": "MinecraftTen",
|
|
"color": "$body_text_color",
|
|
"enable_profanity_filter": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "$content_title_bind_name",
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#section_title_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"content_section_bg": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"$content_name|default": "",
|
|
"$content|default": "pdp.empty_content_panel",
|
|
"controls": [
|
|
{ "pad@pdp.vertical_padding_2px": {} },
|
|
{ "section_header@pdp.section_header": {} },
|
|
{
|
|
"bg_and_content": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"bg": {
|
|
"type": "image",
|
|
"$bg_size|default": [ "100% - 4px", "100%c" ],
|
|
"size": "$bg_size",
|
|
"texture": "textures/ui/Banners",
|
|
"$section_bg_alpha|default": 1.0,
|
|
"alpha": "$section_bg_alpha",
|
|
"controls": [
|
|
{ "$content@$content": {} }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
|
|
"$content_section_bg_bindings|default": [],
|
|
"variables": [
|
|
{
|
|
"requires": "(not $content_name = '')",
|
|
"$content_section_bg_bindings": [
|
|
{
|
|
"binding_name": "$content_name",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"bindings": "$content_section_bg_bindings"
|
|
},
|
|
|
|
"content_section_boarder_bg": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"$content_name|default": "",
|
|
"$content|default": "pdp.empty_content_panel",
|
|
"controls": [
|
|
{ "pad@pdp.vertical_padding_2px": {} },
|
|
{
|
|
"bg_and_content": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"bg": {
|
|
"type": "image",
|
|
"size": [ "100% - 6px", "100%c + 10px" ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"texture": "textures/ui/thin_dialog",
|
|
"controls": [
|
|
{
|
|
"inner": {
|
|
"type": "image",
|
|
"size": [ "100% - 7px", "100%c" ],
|
|
"offset": [ 0, 6 ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"layer": -1,
|
|
"texture": "textures/ui/Black",
|
|
"alpha": 0.8,
|
|
"controls": [
|
|
{ "$content@$content": { "layer": 5 } }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "pad_3@pdp.vertical_padding_2px": {} },
|
|
{ "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } }
|
|
],
|
|
|
|
"$content_section_boarder_bg_bindings|default": [],
|
|
"variables": [
|
|
{
|
|
"requires": "(not $content_name = '')",
|
|
"$content_section_boarder_bg_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$content_name",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"bindings": "$content_section_boarder_bg_bindings"
|
|
},
|
|
|
|
"realms_default_animation": {
|
|
"anim_type": "flip_book",
|
|
"initial_uv": [ 0, 0 ],
|
|
"frame_count": 16,
|
|
"frame_step": 19,
|
|
"fps": 10,
|
|
"reversible": false
|
|
},
|
|
|
|
"realms_hover_animation": {
|
|
"anim_type": "flip_book",
|
|
"initial_uv": [ 0, 0 ],
|
|
"frame_count": 16,
|
|
"frame_step": 19,
|
|
"fps": 8,
|
|
"reversible": false
|
|
},
|
|
|
|
"summary_factory_object": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
|
|
"focus_container": true,
|
|
"focus_wrap_enabled": false,
|
|
"focus_navigation_mode_left": "$main_content_focus_container_left",
|
|
"focus_container_custom_left": "$main_content_focus_container_left_custom",
|
|
|
|
"controls": [
|
|
{
|
|
"summary@pdp.summary_content_panel": {
|
|
"$content_name": "#summary_content_visible"
|
|
}
|
|
},
|
|
{
|
|
"navigation_tab_section@store_layout.nav_button_grid_panel": {
|
|
"$nav_button_event_name": "button.tab_button",
|
|
"$nav_button_collection_name": "tab_button_collection",
|
|
"$section_content": "#tab_section_content",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_name": "#nav_grid_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"update_notification_section@pdp.content_section_boarder_bg": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$content": "pdp.update_notification_stack_panel",
|
|
"$content_name": "#update_notification_section_visible"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"screenshot_carousel_factory_object": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c + 2px" ],
|
|
"controls": [
|
|
{
|
|
"resource_pack_content_panel@pdp.content_section_bg": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$section_bg_alpha": 0.5,
|
|
"$content": "pdp.resource_pack_content"
|
|
}
|
|
},
|
|
{ "pad_3@pdp.vertical_padding_2px": {} },
|
|
{ "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } }
|
|
]
|
|
},
|
|
|
|
"image_gallery_factory_object": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{ "resource_pack_content_panel@pdp.image_row_content": {} }
|
|
]
|
|
},
|
|
|
|
"left_text_right_image_factory_object": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{ "resource_pack_content_panel@pdp.image_row_left_text_content": {} }
|
|
]
|
|
},
|
|
|
|
"right_text_left_image_factory_object": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{ "resource_pack_content_panel@pdp.image_row_right_text_content": {} }
|
|
]
|
|
},
|
|
|
|
"skin_pack_section_factory_object": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"skin_pack_section_factory_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{ "skin_pack_content_panel@pdp.skin_pack_content_panel": {} },
|
|
{ "pad_3@pdp.vertical_padding_2px": {} },
|
|
{ "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#is_skin_pack_section_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#skin_pack_section_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"panorama_view_factory_object": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
|
|
"$store_factory_collection_details|default": "none",
|
|
"$store_factory_binding_type|default": "global",
|
|
"$store_factory_collection_prefix|default": "",
|
|
"$store_factory_collection_name|default": "",
|
|
|
|
"controls": [
|
|
{
|
|
"panorama_view_content_panel@pdp.content_section_bg": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$content": "pdp.panorama_view_content"
|
|
}
|
|
},
|
|
{
|
|
"pad_3@pdp.vertical_padding_2px": {}
|
|
},
|
|
{ "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } }
|
|
]
|
|
},
|
|
|
|
"ratings_factory_object": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{ "rating_factory_object_content@pdp.ratings_content_panel": {} }
|
|
]
|
|
},
|
|
|
|
"bundle_summary_factory_object": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"$control_id": "bundle",
|
|
"controls": [
|
|
{ "bundle_summary_factory_object_content@pdp.bundle_summary_section_panel": {} }
|
|
]
|
|
},
|
|
|
|
"bundles_upsell_factory_object": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"$control_id": "bundle_upsell",
|
|
"controls": [
|
|
{ "bundle_upsell_factor_object_content@pdp.bundle_upsell_section_panel": {} }
|
|
]
|
|
},
|
|
|
|
"pdp_cycle_offer_row_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"store_row_panel@common_store.store_row": {
|
|
"$is_subscription_screen": false,
|
|
"$content_offer_panel_size": [ "100% - 48px", "100%" ]
|
|
}
|
|
},
|
|
{ "pad_3@pdp.vertical_padding_2px": {} },
|
|
{ "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } }
|
|
]
|
|
},
|
|
|
|
"pdp_cycle_offer_row_section@common_store.store_section_panel": {
|
|
"$section_panel_object": "pdp.pdp_cycle_offer_row_content",
|
|
"$store_section_header_font_type": "MinecraftTen"
|
|
},
|
|
|
|
"recently_viewed_viewed_factory_object@pdp.pdp_cycle_offer_row_section": {
|
|
"$store_offer_section_visible": "#recently_viewed_row_visible"
|
|
},
|
|
|
|
"scrolling_content_stack": {
|
|
"type": "stack_panel",
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
|
|
"$store_factory_collection_details|default": "collection_details",
|
|
"$store_factory_binding_type|default": "collection",
|
|
"$store_factory_collection_prefix|default": "factory",
|
|
"$store_factory_collection_name|default": "factory_collection",
|
|
|
|
"factory": {
|
|
"name": "factory",
|
|
"control_ids": {
|
|
"summary": "@pdp.summary_factory_object",
|
|
"screenshots": "@pdp.resource_pack_factory_object",
|
|
"skin_pack": "@pdp.skin_pack_factory_object",
|
|
"world_view": "@pdp.world_view_factory_object",
|
|
"ratings": "@pdp.ratings_factory_object",
|
|
"recently_viewed": "@pdp.pdp_cycle_offer_row_section",
|
|
"related_items": "@pdp.pdp_cycle_offer_row_section",
|
|
"bundles": "@pdp.bundle_factory_object",
|
|
"bundle_upsell": "@pdp.bundles_upsell_factory_object"
|
|
},
|
|
"factory_variables": [
|
|
"$store_factory_collection_details",
|
|
"$store_factory_binding_type",
|
|
"$store_factory_collection_prefix",
|
|
"$store_factory_collection_name"
|
|
]
|
|
},
|
|
"collection_name": "$store_factory_collection_name",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#item_page_section_content",
|
|
"binding_name_override": "#collection_length"
|
|
}
|
|
]
|
|
},
|
|
|
|
"warning_image": {
|
|
"type": "image",
|
|
"size": [ 9, 14 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#warning_icon_path",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
},
|
|
|
|
// Ratings Section
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"scaling_rating": {
|
|
"type": "panel",
|
|
"size": [ 55, 11 ],
|
|
"$rating_bind_name|default": "#content_rating",
|
|
|
|
"controls": [
|
|
{
|
|
"empty_rating": {
|
|
"type": "image",
|
|
"texture": "textures/ui/5stars_empty_white",
|
|
"bilinear": true,
|
|
"controls": [
|
|
{
|
|
"full_rating": {
|
|
"type": "image",
|
|
"texture": "textures/ui/5stars_full",
|
|
"bilinear": true,
|
|
"layer": 1,
|
|
"clip_direction": "left",
|
|
"clip_pixelperfect": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "$rating_bind_name",
|
|
"binding_name_override": "#clip_ratio"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"scaling_rating_new": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"$rating_bind_name|default": "#content_rating",
|
|
"controls": [
|
|
{
|
|
"empty_rating": {
|
|
"type": "image",
|
|
"size": [ 81, 19 ],
|
|
"texture": "textures/ui/5stars_empty_new",
|
|
"clip_direction": "right",
|
|
"clip_pixelperfect": false,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#content_rating_reverse",
|
|
"binding_name_override": "#clip_ratio"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"full_rating": {
|
|
"type": "image",
|
|
"texture": "textures/ui/5stars_full_new",
|
|
"layer": 1,
|
|
"clip_direction": "left",
|
|
"clip_pixelperfect": false,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$rating_bind_name",
|
|
"binding_name_override": "#clip_ratio"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"chart_section": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"$section_offset|default": [ 3, 0 ],
|
|
"controls": [
|
|
{
|
|
"stack": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", 11 ],
|
|
"offset": "$section_offset",
|
|
"$star_number|default": "-1",
|
|
"controls": [
|
|
{
|
|
"star_number_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"star_number": {
|
|
"type": "label",
|
|
"size": [ "default", "100%" ],
|
|
"text": "$star_number",
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"star_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"star_img": {
|
|
"type": "image",
|
|
"size": [ "112.727%y", 8 ],
|
|
"offset": [ 0, -0.5 ],
|
|
"texture": "textures/ui/ratings_fullstar",
|
|
"bilinear": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ 1, 1 ]
|
|
}
|
|
},
|
|
{
|
|
"bar_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"bar": {
|
|
"type": "image",
|
|
"texture": "textures/ui/emptyBar",
|
|
"size": [ "100%", 7 ],
|
|
"offset": [ 0, 2 ],
|
|
"controls": [
|
|
{
|
|
"full_bar": {
|
|
"type": "image",
|
|
"texture": "textures/ui/filledBar",
|
|
"size": [ "100% - 2px", "100% - 2px" ],
|
|
"layer": 1,
|
|
"clip_direction": "left",
|
|
"clip_pixelperfect": false,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$progress_bar_name",
|
|
"binding_name_override": "#clip_ratio"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ 2, 1 ]
|
|
}
|
|
},
|
|
{
|
|
"percent": {
|
|
"type": "label",
|
|
"size": [ 20, "100%" ],
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color",
|
|
"text": "$rating_percentage",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$rating_percentage"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ratings_chart": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"5_star@pdp.chart_section": {
|
|
"$star_number": "5",
|
|
"$progress_bar_name": "#5_star_percent_normalized",
|
|
"$rating_percentage": "#5_star_percent"
|
|
}
|
|
},
|
|
{
|
|
"4_star@pdp.chart_section": {
|
|
"$star_number": "4",
|
|
"$progress_bar_name": "#4_star_percent_normalized",
|
|
"$rating_percentage": "#4_star_percent"
|
|
}
|
|
},
|
|
{
|
|
"3_star@pdp.chart_section": {
|
|
"$star_number": "3",
|
|
"$progress_bar_name": "#3_star_percent_normalized",
|
|
"$rating_percentage": "#3_star_percent"
|
|
}
|
|
},
|
|
{
|
|
"2_star@pdp.chart_section": {
|
|
"$star_number": "2",
|
|
"$progress_bar_name": "#2_star_percent_normalized",
|
|
"$rating_percentage": "#2_star_percent"
|
|
}
|
|
},
|
|
{
|
|
"1_star@pdp.chart_section": {
|
|
"$star_number": "1",
|
|
"$progress_bar_name": "#1_star_percent_normalized",
|
|
"$rating_percentage": "#1_star_percent"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ratings_chart_panel": {
|
|
"type": "panel",
|
|
"layer": 1,
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"ratings_chart_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"size": [ "100% - 6px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ "100%", 1 ]
|
|
}
|
|
},
|
|
{
|
|
"title": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"title_text": {
|
|
"type": "label",
|
|
"size": [ "100%", 10 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"font_type": "MinecraftTen",
|
|
"text": "store.mashup.title.ratings",
|
|
"color": "$body_text_color"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ]
|
|
}
|
|
},
|
|
{
|
|
"rating_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"rating": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{ "rating_bar@pdp.scaling_rating_new": {} },
|
|
{
|
|
"pad": {
|
|
"type": "panel",
|
|
"size": [ 2, 1 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#ratings_panel_5stars_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"rating_text_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 10 ],
|
|
"controls": [
|
|
{
|
|
"rating_text": {
|
|
"type": "label",
|
|
"size": [ "default", "100%" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"text": "#ratings_panel_text",
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#ratings_panel_text"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"count_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"count": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"text": "#number_of_ratings",
|
|
"offset": [ 0, -1 ],
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#number_of_ratings"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_2": {
|
|
"type": "panel",
|
|
"size": [ "100%", 2 ]
|
|
}
|
|
},
|
|
{ "chart@pdp.ratings_chart": {} },
|
|
{ "pad_3@pdp.vertical_padding_2px": {} }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ratings_box": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"ratings_full_panel": {
|
|
"type": "panel",
|
|
"size": [ "100% - 4px", "100%c" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"controls": [
|
|
{
|
|
"ratings_chart_and_button": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{ "chart@pdp.ratings_chart_panel": {} },
|
|
{ "pad_1@pdp.vertical_padding_2px": {} }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"divider": {
|
|
"type": "image",
|
|
"size": [ 1, 85 ],
|
|
"anchor_from": "bottom_right",
|
|
"anchor_to": "bottom_right",
|
|
"offset": [ 0, -6 ],
|
|
"texture": "textures/ui/divider3",
|
|
"tiled": "y",
|
|
"alpha": 0.6
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"user_rating_star_button@common.button": {
|
|
"size": [ 17, 20 ],
|
|
"pressed_control": "hover",
|
|
"$pressed_button_name": "button.user_rating_star_toggle",
|
|
"controls": [
|
|
{
|
|
"default": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"default_user_rating_star": {
|
|
"type": "image",
|
|
"size": [ 17, 19 ],
|
|
"texture": "textures/ui/emptyStar",
|
|
|
|
"property_bag": {
|
|
"#empty_star_texture": "textures/ui/emptyStar",
|
|
"#filled_star_texture": "textures/ui/filledStar"
|
|
},
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "ratings_star_collection"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "ratings_star_collection",
|
|
"binding_name": "#user_rating_star_texture",
|
|
"binding_name_override": "#texture"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"hover": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"hover_user_rating_star": {
|
|
"type": "image",
|
|
"size": [ 17, 19 ],
|
|
"texture": "textures/ui/emptyStarFocus",
|
|
|
|
"property_bag": {
|
|
"#empty_star_texture": "textures/ui/emptyStarFocus",
|
|
"#filled_star_texture": "textures/ui/filledStarFocus"
|
|
},
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "ratings_star_collection"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "ratings_star_collection",
|
|
"binding_name": "#user_rating_star_texture",
|
|
"binding_name_override": "#texture"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "ratings_star_collection"
|
|
}
|
|
]
|
|
},
|
|
|
|
"user_rating_star_list_grid": {
|
|
"type": "grid",
|
|
"grid_item_template": "pdp.user_rating_star_button",
|
|
"grid_dimension_binding": "#ratings_star_dimensions",
|
|
"collection_name": "ratings_star_collection",
|
|
"size": [ "100%", "default" ],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#ratings_star_dimensions"
|
|
}
|
|
]
|
|
},
|
|
|
|
"ratings_interact_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% - 15px", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#ratings_interact_panel_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"title_text": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"font_type": "MinecraftTen",
|
|
"text": "store.ratings.yourRating",
|
|
"color": "$body_text_color"
|
|
}
|
|
},
|
|
{
|
|
"pad_vertical_4px": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ]
|
|
}
|
|
},
|
|
{
|
|
"rating_stars_and_button_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"fill_stars": {
|
|
"type": "panel",
|
|
"size": [ "60%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"rating_buttons@pdp.user_rating_star_list_grid": {}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_3_percent": {
|
|
"type": "panel",
|
|
"size": [ "3%", "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"submit_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "37%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"submit@common_buttons.light_content_button": {
|
|
"$button_content": "pdp.interaction_button_content",
|
|
"size": [ "100%", 20 ],
|
|
"$button_text_bind_name": "#submit_rating_button_text",
|
|
"$focus_wrap_enabled": false,
|
|
"$button_focus_precedence|default": 9,
|
|
"$pressed_button_name": "button.submit_rating",
|
|
"$focus_id": "interact_button",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#ratings_button_enabled",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_vertical_8px": {
|
|
"type": "panel",
|
|
"size": [ "100%", 8 ]
|
|
}
|
|
},
|
|
{
|
|
"fill_pad": {
|
|
"type": "panel",
|
|
"size": [ "100%", 48 ],
|
|
"controls": [
|
|
{
|
|
"text": {
|
|
"type": "label",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "default" ],
|
|
"text_alignment": "left",
|
|
"color": "$body_text_color",
|
|
"text": "#rating_footer_text",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#rating_footer_text"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"send_feedback_button@common_buttons.light_text_button": {
|
|
"size": [ "100%", 20 ],
|
|
"$pressed_button_name": "button.send_feedback",
|
|
"$button_text": "gui.submitFeedback.text",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ratings_info_panel": {
|
|
"type": "panel",
|
|
"size": [ "100% - 2px", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"ratings@pdp.ratings_box": {
|
|
"size": [ "34%", "100%cm" ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle"
|
|
}
|
|
},
|
|
{
|
|
"ratings_right": {
|
|
"type": "panel",
|
|
"size": [ "66%", "100%cm" ],
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"controls": [
|
|
{
|
|
"ratings_interact_panel@pdp.ratings_interact_panel": {}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ratings_content_panel@pdp.content_section_boarder_bg": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$content": "pdp.ratings_info_panel",
|
|
"clip_state_change_event": "$store_factory_clipping_event"
|
|
},
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// World View Section
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"panorama_view_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"panorama_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 150 ],
|
|
"controls": [
|
|
{ "panorama_content@panorama.panorama_view": {} }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Skin Pack Section
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"skins@skin_pack_purchase.skins_panel": {
|
|
"size": [ "100%", 150 ]
|
|
},
|
|
|
|
"skin_pack_content_panel@pdp.content_section_bg": {
|
|
"size": [ "100%", "100%c + 4px" ],
|
|
"$content": "pdp.skins",
|
|
"$section_bg_alpha": 0.5,
|
|
"$grid_size": [ "100%", "100%" ],
|
|
"$skins_grid_size": [ "100% - 40px", "100% - 2px" ],
|
|
"$skins_grid_item_size": [ "19.9%", "100%" ],
|
|
"$skin_model_size": [ "100%", "100%" ],
|
|
"$skin_model_offset": [ 0, -15 ],
|
|
"$skin_model_anchor_from": "top_middle",
|
|
"$skin_model_anchor_to": "top_middle",
|
|
"$skin_lock_offset": [ -3, -4.0 ]
|
|
},
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Resource Pack Section
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"resource_pack_content": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"screenshots@pdp_screenshots.screenshot_carousel": {
|
|
"size": [ "100%", "100%cm" ],
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"image_row_left_text_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"buffer_panel_front": {
|
|
"type": "panel",
|
|
"size": [ "2px", "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"text_section": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"left_header@pdp.section_header": {
|
|
"size": [ "100%", "100%c" ]
|
|
}
|
|
},
|
|
{
|
|
"left_text@sdl_text_row.sdl_text_row": {
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel_bottom": {
|
|
"type": "panel",
|
|
"size": [ "100%", "3px" ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel_mid": {
|
|
"type": "panel",
|
|
"size": [ "2px", "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"screenshots_single@sdl_image_row.double_image": {
|
|
"$image_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "global", // bypassing the factory.
|
|
"binding_name": "#screenshot_texture_image_row_global",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "#screenshot_texture_file_system_image_row_global",
|
|
"binding_name_override": "#texture_file_system"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel_back": {
|
|
"type": "panel",
|
|
"size": [ "2px", "100%sm" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"image_row_right_text_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"buffer_panel_front": {
|
|
"type": "panel",
|
|
"size": [ "2px", "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"screenshots_single@sdl_image_row.double_image": {
|
|
"$image_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "#screenshot_texture_image_row_global",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "#screenshot_texture_file_system_image_row_global",
|
|
"binding_name_override": "#texture_file_system"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel_mid": {
|
|
"type": "panel",
|
|
"size": [ "2px", "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"text_section": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "fill", "100%sm" ],
|
|
"min_size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"right_header@pdp.section_header": {
|
|
"size": [ "100%", "100%c" ]
|
|
}
|
|
},
|
|
{
|
|
"right_text@sdl_text_row.sdl_text_row": {
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel_bottom": {
|
|
"type": "panel",
|
|
"size": [ "100%", "3px" ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel_back": {
|
|
"type": "panel",
|
|
"size": [ "2px", "100%sm" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"image_row_content": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"screenshots_triple@sdl_image_row.image_row_factory": {
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Summary Section
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"play_button": {
|
|
"type": "image",
|
|
"layer": 4,
|
|
"size": [ 31, 31 ],
|
|
"offset": [ 1, 1 ],
|
|
"texture": "textures/ui/store_play_button"
|
|
},
|
|
|
|
"csb_expiration": {
|
|
"type": "panel",
|
|
"size": [ "100%", 14 ],
|
|
"offset": [ 0, 0.5 ],
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"controls": [
|
|
{
|
|
"background": {
|
|
"type": "image",
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"texture": "textures/ui/White",
|
|
"color": "$csub_text_color",
|
|
"layer": 3
|
|
}
|
|
},
|
|
{
|
|
"icon": {
|
|
"type": "image",
|
|
"size": [ 12, 12 ],
|
|
"texture": "textures/ui/sidebar_icons/csb_sidebar_icon",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"offset": [ 1, 0 ],
|
|
"layer": 5
|
|
}
|
|
},
|
|
{
|
|
"text": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"color": "$0_color_format",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"offset": [ 18, 0 ],
|
|
"text": "#item_csb_expiration_label",
|
|
"layer": 6,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#item_csb_expiration_label"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#csb_expiration_banner_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"summary_content_left_side": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "70% - 6px", "100%c" ],
|
|
"controls": [
|
|
{ "pad_left@pdp.horizontal_padding_4px": {} },
|
|
{
|
|
"full_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% - 4px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"top": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"image": {
|
|
"type": "panel",
|
|
"size": [ "50%", "56.25%x" ],
|
|
"controls": [
|
|
{
|
|
"key_image": {
|
|
"type": "image",
|
|
"layer": 1,
|
|
"size": [ "100%", "100%" ],
|
|
"bilinear": true,
|
|
"controls": [
|
|
{
|
|
"border@common.focus_border_white": {
|
|
"size": [ "100% + 2px", "100% + 2px" ],
|
|
"color": "$light_border_default_color",
|
|
"layer": 8
|
|
}
|
|
},
|
|
{
|
|
"csb_expiration_banner@pdp.csb_expiration": {
|
|
"layer": 4
|
|
}
|
|
},
|
|
{
|
|
"video_overlay_button@common.button": {
|
|
"layer": 3,
|
|
"size": [ "100%", "100%" ],
|
|
"focus_enabled": true,
|
|
"default_control": "default",
|
|
"hover_control": "hover",
|
|
"pressed_control": "hover",
|
|
|
|
"focus_identifier": "video_overlay",
|
|
"focus_change_right": "author_button",
|
|
"focus_change_down": "read_more_button",
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#video_button_enabled",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "button.play_video",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "button.play_video",
|
|
"mapping_type": "pressed"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"mask": {
|
|
"type": "image",
|
|
"layer": 2,
|
|
"size": [ "100%", "100%" ],
|
|
"texture": "textures/ui/store_play_button_mask"
|
|
}
|
|
},
|
|
{
|
|
"default@pdp.play_button": {
|
|
}
|
|
},
|
|
{
|
|
"hover@pdp.play_button": {
|
|
"color": "$store_play_button_hover"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"rtx_label@common_store.rtx_label": {
|
|
"size": [ 20, 12 ],
|
|
"layer": 5,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#rtx_label_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#main_mashup_key_art_texture",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_name": "#main_mashup_key_art_file_system",
|
|
"binding_name_override": "#texture_file_system"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"divider": {
|
|
"type": "panel",
|
|
"size": [ 3, 0 ],
|
|
"inherit_max_sibling_height": true
|
|
}
|
|
},
|
|
{
|
|
"info": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"summary_title_and_author_panel@pdp.title_and_author_panel": {}
|
|
},
|
|
{
|
|
"pad_fill": {
|
|
"type": "panel",
|
|
"size": [ "100%", 5 ]
|
|
}
|
|
},
|
|
{
|
|
"glyph_section": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"glyph_section_panel@pdp.vertical_glyph_section_panel": {
|
|
"offset": [ 0, 1 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"ratings_summary": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"ratings_display": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"$mashup_collection_binding_type|default": "global",
|
|
"$mashup_collection_name|default": "",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#rating_status_valid",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"rating_stars_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"rating@pdp.scaling_rating": {
|
|
"size": [ 50, 10 ],
|
|
"$rating_bind_name": "#rating_button_stars"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"summary_rating_button@common_buttons.underline_button": {
|
|
"$focus_id": "rating_button",
|
|
"$focus_override_up": "glyph_button",
|
|
"$focus_override_left": "video_overlay",
|
|
"$focus_override_right": "share_button",
|
|
"$focus_override_down": "read_more_button",
|
|
|
|
"$single_line_label_text": "#rating_button_text",
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_name": "#rating_button_text"
|
|
}
|
|
],
|
|
"$pressed_button_name": "button.scrollToRateContent"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"bottom": {
|
|
"type": "panel",
|
|
"size": [ "100%", 5 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"offer_title_label@common.single_line_label": {
|
|
"$single_line_label_text": "#title_label",
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "$single_line_label_text",
|
|
"binding_condition": "visibility_changed"
|
|
}
|
|
]
|
|
},
|
|
|
|
"title_and_author_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
|
|
"$mashup_collection_binding_type|default": "global",
|
|
"$mashup_collection_name|default": "",
|
|
|
|
"controls": [
|
|
{
|
|
"title_panel@pdp.offer_title_label": {
|
|
"layer": 1,
|
|
"$size": [ "100%", "100%c" ],
|
|
"$single_label_size": [ "100%", "default" ],
|
|
"$single_line_font_scale_factor": 1.3,
|
|
"$single_line_label_offset": [ 1.5, -3 ]
|
|
}
|
|
},
|
|
{
|
|
"author_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"summary_author_button@common_buttons.underline_button": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"offset": [ 0, -4 ],
|
|
"$pressed_button_name": "button.seeMoreBy",
|
|
"$single_line_label_text": "#creator_label",
|
|
|
|
"$focus_id": "author_button",
|
|
"$focus_override_down": "glyph_button",
|
|
"$focus_override_left": "video_overlay",
|
|
"$focus_override_right": "interact_button",
|
|
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "$single_line_label_text"
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#is_creator_label_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"description_label": {
|
|
"type": "label",
|
|
"size": [ "100%", "default" ],
|
|
"$contents_max_size|default": [ "100%", "default" ],
|
|
"max_size": "$contents_max_size",
|
|
"layer": 1,
|
|
"color": "$body_text_color",
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 0.8,
|
|
"enable_profanity_filter": false,
|
|
"$description_label_binding_name": "#description_label",
|
|
"text": "$description_label_binding_name",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "$description_label_binding_name"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
},
|
|
|
|
"warning_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 16px", 20 ],
|
|
"controls": [
|
|
{
|
|
"warning_icon@pdp.warning_image": {
|
|
"size": [ 13, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ 4, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"warning_text_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"controls": [
|
|
{
|
|
"warning_text": {
|
|
"type": "label",
|
|
"size": [ "100%", 12 ],
|
|
"text": "#warning_text_string",
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 1.1,
|
|
"color": "$body_text_color",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#warning_text_string"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"warning_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"background": {
|
|
"type": "image",
|
|
"size": [ "100% - 8px", "100%sm + 4px" ],
|
|
"texture": "textures/ui/banners_no_border"
|
|
}
|
|
},
|
|
{
|
|
"content_stack_panel@pdp.warning_stack_panel": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"description_toggle_show_button_panel": {
|
|
"type": "panel",
|
|
"$border_offset|default": [ 0, 0 ],
|
|
"$show_button_offset|default": [ 0, 0 ],
|
|
"controls": [
|
|
{
|
|
"description_bottom_right_button_border": {
|
|
"type": "image",
|
|
"size": [ "100%sm + 4px", "100%sm + 4px" ],
|
|
"anchor_from": "bottom_right",
|
|
"anchor_to": "bottom_right",
|
|
"texture": "textures/ui/button_border_light_bottom_right",
|
|
"offset": "$border_offset"
|
|
}
|
|
},
|
|
{
|
|
"description_toggle_show_button@common_buttons.light_text_form_fitting_button": {
|
|
"$focus_id": "$description_toggle_focus_id",
|
|
"size": [ "100%cm", "100%cm" ],
|
|
"anchor_from": "bottom_right",
|
|
"anchor_to": "bottom_right",
|
|
"$pressed_button_name": "button.expand_toggle",
|
|
"offset": "$show_button_offset",
|
|
"layer": 1,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"warning_icon": {
|
|
"type": "image",
|
|
"size": [ 7, 10 ],
|
|
"offset": [ 6, -5 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"layer": 20,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#show_warning_icon",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#warning_icon_path",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
// Glyph Tags
|
|
|
|
// Requires: $glyph_texture
|
|
"glyph_icon": {
|
|
"type": "image",
|
|
"size": [ 8, 8 ],
|
|
"offset": [ 0, -1.5 ],
|
|
"anchor_from": "bottom_left",
|
|
"anchor_to": "bottom_left",
|
|
"texture": "$glyph_texture",
|
|
"color": "$body_text_color",
|
|
"bilinear": true
|
|
},
|
|
|
|
// Requires: $glyph_text_binding
|
|
"glyph_count_label": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"text_alignment": "left",
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 0.8,
|
|
"color": "$body_text_color",
|
|
"text": "$glyph_text_binding",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "$glyph_text_binding",
|
|
"binding_condition": "visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
// Requires: $glyph_text_binding, $pressed_button_name
|
|
"glyph_count_underline_button@common_buttons.underline_button": {
|
|
"$single_label_size": [ "default", 9 ],
|
|
"$single_line_label_offset": [ 0, -1 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"$single_line_label_text": "$glyph_text_binding",
|
|
"$focus_id": "glyph_button",
|
|
"$focus_override_down": "rating_button",
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "$glyph_text_binding",
|
|
"binding_condition": "visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
// Requires: $glyph_text_binding, $pressed_button_name, $glyph_button_hover_bind
|
|
"glyph_count_hover_underline_button_panel@common.empty_panel": {
|
|
"size": [ 32, 10 ],
|
|
"$glyph_button_hover_bind|default": "glyph_button.is_hovered",
|
|
"$glyph_hover_control|default": "pdp.glyph_panel_hover_popup",
|
|
"controls": [
|
|
{
|
|
"glyph_hover_popup@$glyph_hover_control": {}
|
|
},
|
|
{
|
|
"glyph_count_underline_button@pdp.glyph_count_underline_button": {
|
|
"button_mappings": [
|
|
{
|
|
"to_button_id": "$glyph_button_hover_bind",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "focused"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
// Requires: $item_glyph_count_visible_binding
|
|
"glyph_icon_with_count@common.horizontal_stack_panel": {
|
|
"size": [ "100%c", 10 ],
|
|
"$glyph_label_content|default": "pdp.glyph_count_label",
|
|
"controls": [
|
|
{
|
|
"glyph_icon@pdp.glyph_icon": {}
|
|
},
|
|
{
|
|
"horizontal_padding@common.empty_panel": { "size": [ 2, "100%" ] }
|
|
},
|
|
{
|
|
"item_glyph_count_panel_label@$glyph_label_content": {}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "$item_glyph_count_visible_binding",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"glyph_panel_hover_popup@common.dynamic_tooltip_popup_with_image_and_text": {
|
|
"$tooltip_panel_offset": [ "-45%", "-10px" ],
|
|
"$tooltip_popup_image": "textures/ui/infobulb",
|
|
"$tooltip_button_binding_type": "global",
|
|
"$tooltip_button_collection_name": "",
|
|
"$tooltip_popup_visible_binding|default": "#glyph_hover_visible",
|
|
"$tooltip_hovered_to_button_id": "$glyph_button_hover_bind"
|
|
},
|
|
|
|
"glyph_panel_mashup_hover_popup@common.dynamic_custom_tooltip_below": {
|
|
"$tooltip_panel_offset": [ "-45%", "10px" ],
|
|
"$tooltip_popup_image": "textures/ui/infobulb",
|
|
"$tooltip_button_binding_type": "global",
|
|
"$tooltip_button_collection_name": "",
|
|
"$tooltip_popup_visible_binding": "#glyph_hover_visible",
|
|
"$tooltip_hovered_to_button_id": "glyph_button.is_hovered",
|
|
"$pressed_button_name": "button.navigate_to_store_search_mashup",
|
|
"$tooltip_content": "pdp.mashup_glyph_tooltip_content"
|
|
},
|
|
|
|
"mashup_glyph_tooltip_content@common.vertical_stack_panel": {
|
|
"size": [ "100%cm", "100%c" ],
|
|
"$glyph_label_content": "pdp.glyph_count_label",
|
|
"controls": [
|
|
{
|
|
"mashup_text_row@common.horizontal_stack_panel": {
|
|
"size": [ "100%c", 12 ],
|
|
"controls": [
|
|
{
|
|
"lightbulb_icon": {
|
|
"type": "image",
|
|
"size": [ 11, 11 ],
|
|
"texture": "textures/ui/infobulb"
|
|
}
|
|
},
|
|
{
|
|
"mashup_line_one@common.single_line_label": {
|
|
"$single_line_label_text": "store.mashup.hover.label.mashup.lineOne",
|
|
"$font_type": "default"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "mashup_line_two@common.single_line_label": { "$single_line_label_text": "store.mashup.hover.label.mashup.lineTwo" } },
|
|
{
|
|
"offset_panel@common.empty_panel": {
|
|
"size": [ "100%cm", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"basic_vertical_glyph_section_panel@pdp.basic_vertical_glyph_section_panel": { "offset": [ 2, 0 ] }
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"glyph_section_mashup@pdp.glyph_icon_with_count": {
|
|
"$glyph_texture": "textures/ui/glyph_mashup_pack_small",
|
|
"$glyph_text_binding": "#item_mashup_count_and_label",
|
|
"$item_glyph_count_visible_binding": "#item_mashup_count_visible",
|
|
"$pressed_button_name": "button.navigate_to_store_search_mashup",
|
|
"$tooltip_text_binding_name": "#glyph_hover_text_mashup",
|
|
"$glyph_hover_control": "pdp.glyph_panel_mashup_hover_popup"
|
|
},
|
|
|
|
"glyph_section_skin@pdp.glyph_icon_with_count": {
|
|
"$glyph_texture": "textures/ui/glyph_skin_pack_small",
|
|
"$glyph_text_binding": "#item_skin_count_and_label",
|
|
"$glyph_button_hover_bind": "glyph_button_skin.is_hovered",
|
|
"$tooltip_popup_visible_binding": "#glyph_skin_hover_visible",
|
|
"$item_glyph_count_visible_binding": "#item_skin_count_visible",
|
|
"$pressed_button_name": "button.navigate_to_store_search_skin",
|
|
"$tooltip_text_binding_name": "store.mashup.hover.label.skin",
|
|
"$tooltip_text_binding_type": "none"
|
|
},
|
|
|
|
"glyph_section_resource_pack@pdp.glyph_icon_with_count": {
|
|
"$glyph_texture": "textures/ui/glyph_resource_pack_small",
|
|
"$glyph_text_binding": "#item_resource_pack_count_and_label",
|
|
"$item_glyph_count_visible_binding": "#item_resource_pack_count_visible",
|
|
"$pressed_button_name": "button.navigate_to_store_search_resource",
|
|
"$tooltip_text_binding_name": "store.mashup.hover.label.texturePack",
|
|
"$tooltip_text_binding_type": "none"
|
|
},
|
|
|
|
"glyph_section_world@pdp.glyph_icon_with_count": {
|
|
"$glyph_texture": "textures/ui/glyph_world_template_small",
|
|
"$glyph_text_binding": "#item_world_template_count_and_label",
|
|
"$item_glyph_count_visible_binding": "#item_world_template_count_visible",
|
|
"$pressed_button_name": "button.navigate_to_store_search_world",
|
|
"$tooltip_text_binding_name": "store.mashup.hover.label.world",
|
|
"$tooltip_text_binding_type": "none"
|
|
},
|
|
|
|
"glyph_section_addon@pdp.glyph_icon_with_count": {
|
|
"$glyph_texture": "textures/ui/glyph_addon_pack_small",
|
|
"$glyph_text_binding": "#item_addon_pack_count_and_label",
|
|
"$item_glyph_count_visible_binding": "#item_addon_pack_count_visible",
|
|
"$pressed_button_name": "button.navigate_to_store_search_addon",
|
|
"$tooltip_text_binding_name": "store.mashup.hover.label.addonPack",
|
|
"$tooltip_text_binding_type": "none"
|
|
},
|
|
|
|
"basic_vertical_glyph_section_panel@common.vertical_stack_panel": {
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{ "glyph_section_skin@pdp.glyph_section_skin": {} },
|
|
{ "glyph_section_world@pdp.glyph_section_world": {} },
|
|
{ "glyph_section_resource_pack@pdp.glyph_section_resource_pack": {} },
|
|
{ "glyph_section_addon@pdp.glyph_section_addon": {} }
|
|
]
|
|
},
|
|
|
|
"vertical_glyph_section_panel@common.vertical_stack_panel": {
|
|
"size": [ "100%", "100%cm" ],
|
|
"$glyph_label_content": "pdp.glyph_count_hover_underline_button_panel",
|
|
"controls": [
|
|
{ "glyph_section_mashup@pdp.glyph_section_mashup": {} },
|
|
{
|
|
"basic_vertical_glyph_section_panel@pdp.basic_vertical_glyph_section_panel": {
|
|
"visible": false,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "(not #item_mashup_count_visible)",
|
|
"binding_name_override": "#visible",
|
|
"binding_condition": "once"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"summary_text_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"orientation": "vertical",
|
|
"controls": [
|
|
{
|
|
"sale_timer_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", 10 ],
|
|
"controls": [
|
|
{
|
|
"timer_label": {
|
|
"type": "label",
|
|
"size": [ "default", "100%" ],
|
|
"font_type": "smooth",
|
|
"text": "#time_until_sale_expires",
|
|
"color": "$coin_color",
|
|
"offset": [ 2, 0 ],
|
|
"layer": 1,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#time_until_sale_expires"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_sale_timer_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
// used in currency purchase treatment - don't rename until the AB test is done
|
|
"top_interact_button_stack": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"top_interact@pdp.summary_box_button_panel": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$button_action": "button.homeButton",
|
|
"$button_focus_precedence": 11,
|
|
"$progress_loading_focus_precedence": 12
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"apply_to_realm_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c + 3px" ],
|
|
"visible": false,
|
|
"controls": [
|
|
{
|
|
"apply_to_realm_button@pdp.apply_to_realm_button": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"in_csb_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c + 3px" ],
|
|
"controls": [
|
|
{
|
|
"in_csb_button@pdp.in_csb_button": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #csb_incompatible_button_visible)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{ "binding_name": "#in_csb_button_visible" },
|
|
{
|
|
"binding_type": "view",
|
|
"source_property_name": "#in_csb_button_visible",
|
|
"target_property_name": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"progress_loading_anim_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 10 ],
|
|
"controls": [
|
|
{
|
|
"progress_loading_anim@common_store.progress_loading": {
|
|
"$hide_failure_text": true,
|
|
"$use_sibling_scope": false,
|
|
"$hide_progress_loading_outline": true,
|
|
"size": [ 36, "100%" ],
|
|
"offset": [ 2, 0 ],
|
|
"layer": 3,
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"bindings": [
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#progress_loading_anim_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ "100%", 1 ]
|
|
}
|
|
},
|
|
{
|
|
"disclaimer_panel@common_store.disclaimer_panel": {}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 2 ]
|
|
}
|
|
},
|
|
{
|
|
"save_share_button_panel@pdp.smooth_save_share_button_panel": {}
|
|
},
|
|
{
|
|
"pad_2": {
|
|
"type": "panel",
|
|
"size": [ "100%", 2 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"info_bulb_image": {
|
|
"type": "image",
|
|
"texture": "textures/ui/infobulb",
|
|
"size": [ 15, 15 ]
|
|
},
|
|
|
|
"info_bulb_image_small": {
|
|
"type": "image",
|
|
"texture": "textures/ui/infobulb_darkborder_small",
|
|
"size": [ 7, 9 ]
|
|
},
|
|
|
|
"realms_incompatable_content": {
|
|
"type": "image",
|
|
"texture": "textures/ui/disabledButton",
|
|
"layer": 2,
|
|
"controls": [
|
|
{
|
|
"realms_content_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"offset": [ 0, 5 ],
|
|
"controls": [
|
|
{
|
|
"info_bulb_image@pdp.info_bulb_image_small": {
|
|
"layer": 3
|
|
}
|
|
},
|
|
{
|
|
"padding": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"realms_incompatable_button_label": {
|
|
"type": "label",
|
|
"text": "sunsetting.store.incompatible",
|
|
"color": "$light_button_locked_text_color",
|
|
"layer": 3
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"apply_to_realm_button@common_buttons.dark_text_button": {
|
|
"size": [ "100% - 4px", 20 ],
|
|
"$focus_border_size_override": [ "100%", 20 ],
|
|
"$button_image_size_override": [ "100% - 2px", 18 ],
|
|
"$button_content_size_override": [ "100%", 20 ],
|
|
"$button_text": "store.applyToRealm",
|
|
"$button_text_max_size": [ "default", 8 ],
|
|
"$default_text_color": "$store_white_text_color",
|
|
"$pressed_button_name": "button.apply_to_realm",
|
|
"$default_button_texture": "textures/ui/realmsContent",
|
|
"$hover_button_texture": "textures/ui/realmsContentHover",
|
|
"$pressed_button_texture": "textures/ui/realmsContentPressed"
|
|
},
|
|
|
|
"in_realms_plus_button_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% + 4px", "100%" ],
|
|
"offset": [ -3, 0 ],
|
|
"$is_purchase_button": false,
|
|
"controls": [
|
|
{
|
|
"realm_icon_panel": {
|
|
"type": "panel",
|
|
"size": [ "50%y + 13px", "100% + 4px" ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"controls": [
|
|
{
|
|
"realms_banner@realmsPlus.markdown_background": {
|
|
"size": [ "default", "100%" ],
|
|
"$banner_size": [ "13px", "100%" ],
|
|
"offset": [ 3, -2 ],
|
|
"$triangle_offset": [ 0, 0 ],
|
|
"ignored": "(not $default_state)",
|
|
"layer": 9
|
|
}
|
|
},
|
|
{
|
|
"realms_plus_normal": {
|
|
"type": "image",
|
|
"texture": "textures/ui/realms_plus_normal",
|
|
"size": [ 19, 19 ],
|
|
"uv_size": [ 19, 19 ],
|
|
"uv": "@pdp.realms_default_animation",
|
|
"disable_anim_fast_forward": true,
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"offset": [ 1, -2 ],
|
|
"layer": 15,
|
|
"ignored": "(not $default_state)"
|
|
}
|
|
},
|
|
{
|
|
"realms_plus_hover": {
|
|
"type": "image",
|
|
"texture": "textures/ui/realms_plus_hover",
|
|
"size": [ 19, 19 ],
|
|
"uv_size": [ 19, 19 ],
|
|
"uv": "@pdp.realms_default_animation",
|
|
"disable_anim_fast_forward": true,
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"offset": [ 1, -2 ],
|
|
"layer": 15,
|
|
"ignored": "$default_state"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"buffer_panel": {
|
|
"type": "panel",
|
|
"size": [ 3, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"alignment_text_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"controls": [
|
|
{
|
|
"text": {
|
|
"type": "label",
|
|
"size": [ "100%", 10 ],
|
|
"text_alignment": "center",
|
|
"text": "store.inRealmsPlus",
|
|
"color": "$text_color"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"in_csb_button@common_csb.csb_gold_text_button": {
|
|
"size": [ "100% - 4px", 20 ],
|
|
"$button_text": "store.inCsb",
|
|
"$pressed_button_name": "button.in_csb_button"
|
|
},
|
|
|
|
"in_realms_plus_button@common_buttons.dark_content_button": {
|
|
"size": [ "100% - 4px", 20 ],
|
|
"$focus_border_size_override": [ "100%", 20 ],
|
|
"$button_image_size_override": [ "100% - 2px", 18 ],
|
|
"$button_content_size_override": [ "100%", 20 ],
|
|
|
|
"$button_content": "pdp.in_realms_plus_button_content",
|
|
"$hover_button_texture": "textures/ui/realmsContentHover",
|
|
"$pressed_button_texture": "textures/ui/realmsContentPressed",
|
|
"$pressed_button_name": "button.realms_plus"
|
|
},
|
|
|
|
"read_more_button@common.button": {
|
|
"$pressed_button_name": "button.read_more",
|
|
"controls": [
|
|
{
|
|
"default@common.empty_panel": {}
|
|
},
|
|
{
|
|
"hover@common.focus_border_white": {
|
|
"color": "$dark_border_hover_color"
|
|
}
|
|
},
|
|
{
|
|
"pressed@common.focus_border_white": {
|
|
"color": "$dark_border_pressed_color"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"summary_content_right_side": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "30%", "100%cm" ],
|
|
"controls": [
|
|
{ "pad_middle@pdp.horizontal_padding_2px": {} },
|
|
{
|
|
"text@pdp.summary_text_panel": {
|
|
"size": [ "100% - 6px", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #entitlements_refreshing_visible)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"entitlements_progress_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"progress_loading@common_store.progress_loading_spinner": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#entitlements_refreshing_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "pad_right@pdp.horizontal_padding_4px": {} }
|
|
]
|
|
},
|
|
|
|
"summary_content_whole_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "right_middle",
|
|
"controls": [
|
|
{
|
|
"left_side@pdp.summary_content_left_side": {
|
|
"size": [ "70% - 6px", "100%c" ]
|
|
}
|
|
},
|
|
{
|
|
"divider_panel@common.vertical_divider": {
|
|
"$size": [ "100%c", 0 ],
|
|
"inherit_max_sibling_height": true
|
|
}
|
|
},
|
|
{
|
|
"right_side@pdp.summary_content_right_side": {
|
|
"size": [ "30%", "100%cm" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"summary_content_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{ "pad_top@pdp.vertical_padding_4px": {} },
|
|
{ "summary_content_whole_stack@pdp.summary_content_whole_stack_panel": {} },
|
|
{ "pad_3@pdp.vertical_padding_2px": {} },
|
|
{ "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } }
|
|
]
|
|
},
|
|
|
|
"appearance_status_image_panel": {
|
|
"type": "panel",
|
|
"size": [ 8, "100%" ],
|
|
"layer": 10,
|
|
"controls": [
|
|
{
|
|
"limited_status_image": {
|
|
"type": "image",
|
|
"size": [ "100%", "90%x" ],
|
|
"offset": [ 0, -1 ],
|
|
"bilinear": true,
|
|
"texture": "textures/ui/infobulb",
|
|
"layer": 1,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#update_notification_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"no_restrictions_status_image": {
|
|
"type": "image",
|
|
"size": [ "100%", "100%x" ],
|
|
"bilinear": true,
|
|
"texture": "textures/ui/realms_green_check",
|
|
"layer": 2,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#update_check_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"appearance_status_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 6px", "100% - 2px" ],
|
|
"controls": [
|
|
{
|
|
"appearance_status_image_panel@pdp.appearance_status_image_panel": {}
|
|
},
|
|
{
|
|
"last_update_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"controls": [
|
|
{
|
|
"last_update_label": {
|
|
"type": "label",
|
|
"size": [ "100% - 2px", "default" ],
|
|
"offset": [ 0, -1 ],
|
|
"layer": 10,
|
|
"color": "$body_text_color",
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 0.8,
|
|
"text": "#last_update_text",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#last_update_text"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"dynamic_tooltip_notification_panel@common.button": {
|
|
"size": [ "100%", 12 ],
|
|
"sound_volume": 0.0,
|
|
|
|
"$pressed_button_name": "button.ignore_me",
|
|
|
|
"$tooltip_button_binding_type": "none",
|
|
"$tooltip_button_collection_name": "",
|
|
"$tooltip_text_binding_name": "store.mashup.out_of_date_tooltip",
|
|
"$tooltip_popup_override_image_panel": "pdp.appearance_status_image_panel",
|
|
"$tooltip_button_content_size|default": [ "100%", "100%" ],
|
|
"$tooltip_background_texture": "textures/ui/tooltip_default_background",
|
|
"$override_tooltip_popup_image": true,
|
|
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "focused"
|
|
}
|
|
],
|
|
|
|
"controls": [
|
|
{
|
|
"default@common.empty_panel": {}
|
|
},
|
|
{
|
|
"hover@common.dynamic_tooltip_popup_with_image_and_text": {}
|
|
},
|
|
{
|
|
"pressed@common.dynamic_tooltip_popup_with_image_and_text": {}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#update_notification_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"update_notification_content": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"controls": [
|
|
{
|
|
"dynamic_tooltip_notification_panel@pdp.dynamic_tooltip_notification_panel": {
|
|
"layer": 2
|
|
}
|
|
},
|
|
{
|
|
"status@pdp.appearance_status_content": {
|
|
"layer": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"update_notification_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% + 2 px", "14px" ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"controls": [
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ 1, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"content@pdp.update_notification_content": {}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"tag_base": {
|
|
"type": "image",
|
|
"texture": "textures/ui/effect_background",
|
|
"size": [ "100%sm + 10px", 14 ]
|
|
},
|
|
|
|
"tag_button_panel@pdp.tag": {
|
|
"type": "panel",
|
|
"size": [ "100%cm + 2px", 15 ],
|
|
"$pressed_button_name": "button.tag",
|
|
"controls": [
|
|
{
|
|
"button@common.button": {
|
|
"size": [ "100%cm", 14 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"$pressed_button_name": "button.tag",
|
|
"controls": [
|
|
{
|
|
"default@pdp.tag_base": {
|
|
}
|
|
},
|
|
{
|
|
"hover@pdp.tag_base": {
|
|
"color": [ 0, 1, 0 ]
|
|
}
|
|
},
|
|
{
|
|
"pressed@pdp.tag_base": {
|
|
"color": [ 0.6, 0.6, 0.6 ]
|
|
}
|
|
},
|
|
{
|
|
"label": {
|
|
"type": "label",
|
|
"text": "#tag_label",
|
|
"color": "$generic_button_text_color",
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 0.8,
|
|
"offset": [ 0.5, -0.5 ],
|
|
"max_size": [ 275, 10 ],
|
|
"layer": 1,
|
|
"bindings": "$tag_label_bindings"
|
|
}
|
|
}
|
|
],
|
|
"bindings": "$tag_label_bindings"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"tag_row_factory": {
|
|
"type": "stack_panel",
|
|
"size": "$tag_factory_size",
|
|
"orientation": "horizontal",
|
|
"use_priority": true,
|
|
"collection_name": "$tag_factory_collection_name",
|
|
"factory": {
|
|
"name": "tag_factory",
|
|
"control_ids": {
|
|
"tag": "@pdp.tag_button_panel"
|
|
},
|
|
"factory_variables": [
|
|
"$tag_factory_collection_name",
|
|
"$tag_label_bindings",
|
|
"$store_factory_collection_details",
|
|
"$store_factory_collection_name",
|
|
"$store_factory_collection_prefix"
|
|
]
|
|
},
|
|
"bindings": "$tag_factory_bindings"
|
|
},
|
|
|
|
"player_count_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c + 1px", "100%" ],
|
|
"controls": [
|
|
{
|
|
"player_count_button@common_buttons.underline_button": {
|
|
"size": [ "100%cm", "100%" ],
|
|
"offset": [ -3, 0 ],
|
|
"$single_line_label_text": "#player_count_label",
|
|
"$pressed_button_name": "button.player_count",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "$tag_factory_collection_name"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "$tag_factory_collection_name",
|
|
"binding_name": "#player_count_label"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"bindings": "$label_text_bindings"
|
|
}
|
|
},
|
|
{
|
|
"comma": {
|
|
"type": "label",
|
|
"size": [ "default", "100%" ],
|
|
"offset": [ -3, 0 ],
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "left_middle",
|
|
"text": ", ",
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "$tag_factory_collection_name"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "$tag_factory_collection_name",
|
|
"binding_name_override": "#visible",
|
|
"binding_name": "#player_count_comma_visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_count_factory": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"orientation": "horizontal",
|
|
"$tag_factory_collection_name": "player_count_collection",
|
|
"collection_name": "$tag_factory_collection_name",
|
|
"factory": {
|
|
"name": "player_count_factory",
|
|
"control_ids": {
|
|
"player_count": "@pdp.player_count_button_panel"
|
|
},
|
|
"factory_variables": [
|
|
"$tag_factory_collection_name",
|
|
"$store_factory_collection_details",
|
|
"$store_factory_collection_name",
|
|
"$store_factory_collection_prefix"
|
|
]
|
|
},
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#player_count_collection_length",
|
|
"binding_name_override": "#collection_length"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
},
|
|
|
|
"language_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%cm + 3px", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"language_button@common_buttons.underline_button": {
|
|
"size": [ "100%cm", "100%cm" ],
|
|
"$single_line_label_text": "#language_label",
|
|
"$pressed_button_name": "button.language",
|
|
"offset": [ 0, 2 ],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comma": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "left_middle",
|
|
"offset": [ 0, 1 ],
|
|
"text": ", ",
|
|
"font_type": "smooth",
|
|
"bindings": "$comma_text_bindings",
|
|
"color": "$body_text_color"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"language_row_factory": {
|
|
"type": "stack_panel",
|
|
"size": "$language_factory_size",
|
|
"orientation": "horizontal",
|
|
"use_priority": true,
|
|
"collection_name": "$language_factory_collection_name",
|
|
"factory": {
|
|
"name": "language_factory",
|
|
"control_ids": {
|
|
"language": "@pdp.language_button_panel"
|
|
},
|
|
"factory_variables": [
|
|
"$language_factory_collection_name",
|
|
"$label_text_bindings",
|
|
"$comma_text_bindings",
|
|
"$store_factory_collection_details",
|
|
"$store_factory_collection_name",
|
|
"$store_factory_collection_prefix"
|
|
]
|
|
},
|
|
"bindings": "$language_factory_bindings"
|
|
},
|
|
|
|
"description_inner_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"description_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% - 4px", "100%c" ],
|
|
"offset": [ 2, 0 ],
|
|
"$mashup_collection_binding_type|default": "global",
|
|
"$mashup_collection_name|default": "",
|
|
"$description_button_bindings|default": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ "100%", 3 ]
|
|
}
|
|
},
|
|
{
|
|
"title_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100% - 5px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"title_text_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"title_label_icon": {
|
|
"type": "image",
|
|
"size": [ 9, 9 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#has_title_icon",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#description_header_icon",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%sm" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#has_title_icon",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"title_label": {
|
|
"type": "label",
|
|
"size": [ "fill", "default" ],
|
|
"text": "#description_title",
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color",
|
|
"enable_profanity_filter": false,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_title"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ]
|
|
}
|
|
},
|
|
{
|
|
"divider_panel": {
|
|
"type": "panel",
|
|
"size": [ "100% - 8px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"divider@common.horizontal_divider": {
|
|
"$image_size": [ "100%", 1 ],
|
|
"offset": [ 1, 0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#has_title",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"description_text_panel_full": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 5px", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"description_text_expanded": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"description_label@pdp.description_label": {}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ "100%", 10 ]
|
|
}
|
|
},
|
|
{
|
|
"warning_panel@pdp.warning_panel": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#show_warning",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"button_panel@pdp.description_toggle_show_button_panel": {
|
|
"size": [ "100%cm + 2px", "100%sm" ],
|
|
"min_size": [ "100%cm + 2px", 20 ],
|
|
"$button_text": "store.offerDescription.showLess",
|
|
"$border_offset": [ 3.5, 3 ],
|
|
"$show_button_offset": [ 3.5, 2.5 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #has_tags)",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_description_expanded",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"description_text_panel_collapsed": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 5px", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"description_text_collapsed@pdp.description_label": {
|
|
"size": [ "fill", 17 ], //Setting the height to be always 17px, as ShowMore button panel goes beyond the default size of label, when PDP description is short & contains metadata
|
|
"notify_ellipses_sibling": true,
|
|
"notify_on_ellipses": [
|
|
"collapsed_show_more_panel"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"collapsed_show_more_panel@pdp.description_toggle_show_button_panel": {
|
|
"size": [ "100%cm + 2px", "100%sm" ],
|
|
"$button_text": "store.offerDescription.showMore",
|
|
"$border_offset": [ 3.5, 3 ],
|
|
"$show_button_offset": [ 3.5, 2.5 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#collapsed_show_more_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_description_expanded)",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"divider_panel": {
|
|
"type": "panel",
|
|
"size": [ "100% - 8px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"divider@common.horizontal_divider": {
|
|
"$image_size": [ "100%", 1 ],
|
|
"offset": [ 1, 0 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_2": {
|
|
"type": "panel",
|
|
"size": [ "100%", 4 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#description_expanded_visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"tags_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 5px", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"label_text_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"label_text@common.minecraftTenLabel": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"text": "store.offerDescription.tags",
|
|
"color": "$body_text_color"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"tag_factory_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"tags_factory_with_rows": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"collection_name": "tag_row_collection",
|
|
"size": [ "100%", "100%c" ],
|
|
"$tag_factory_collection_name": "tag_column_collection",
|
|
"$tag_factory_size": [ "100%", "100%cm" ],
|
|
"$tag_factory_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "tag_row_collection",
|
|
"binding_collection_prefix": "row"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_name": "#tag_columns_collection_length",
|
|
"binding_type": "collection",
|
|
"binding_name_override": "#collection_length",
|
|
"binding_collection_name": "tag_row_collection"
|
|
}
|
|
],
|
|
"$tag_label_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "tag_row_collection",
|
|
"binding_collection_prefix": "row"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_name": "#tag_label",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "tag_column_collection"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "$tag_factory_collection_name"
|
|
}
|
|
],
|
|
"factory": {
|
|
"name": "tag_row_factory",
|
|
"control_ids": {
|
|
"tag_row": "@pdp.tag_row_factory"
|
|
},
|
|
"factory_variables": [
|
|
"$tag_factory_collection_name",
|
|
"$tag_factory_size",
|
|
"$tag_factory_bindings",
|
|
"$tag_label_bindings",
|
|
"$store_factory_collection_details",
|
|
"$store_factory_collection_name",
|
|
"$store_factory_collection_prefix"
|
|
]
|
|
},
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#tag_rows_collection_length",
|
|
"binding_name_override": "#collection_length"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"tags_factory@pdp.tag_row_factory": {
|
|
"$tag_factory_collection_name": "tag_collapsed_collection",
|
|
"$tag_factory_size": [ "100%", "100%cm" ],
|
|
"$tag_factory_bindings": [
|
|
{
|
|
"binding_name": "#description_collapsed_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_name": "#tag_collapsed_collection_length",
|
|
"binding_name_override": "#collection_length"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"$tag_label_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "tag_collapsed_collection",
|
|
"binding_collection_prefix": "collapsed"
|
|
},
|
|
{
|
|
"binding_name": "#tag_label",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "tag_collapsed_collection"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"genre_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 5px", "100%cm + 2px" ],
|
|
"controls": [
|
|
{
|
|
"label_text@common.minecraftTenLabel": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"text": "store.offerDescription.genre",
|
|
"color": "$body_text_color"
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"text_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"text_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%cm" ],
|
|
"offset": [ 0, 2 ],
|
|
"controls": [
|
|
{
|
|
"genre_button@common_buttons.underline_button": {
|
|
"size": [ "100%cm", "100%cm" ],
|
|
"$single_line_label_text": "#genre_label",
|
|
"$pressed_button_name": "button.genre",
|
|
"bindings": "$description_button_bindings",
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_name": "#genre_label"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_0": {
|
|
"type": "panel",
|
|
"size": [ 4, "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"slash_divider": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"text": "/",
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color"
|
|
}
|
|
},
|
|
{
|
|
"subgenre_button@common_buttons.underline_button": {
|
|
"size": [ "100%cm", "100%cm" ],
|
|
"$single_line_label_text": "#subgenre_label",
|
|
"$pressed_button_name": "button.subgenre",
|
|
"bindings": "$description_button_bindings",
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_name": "#subgenre_label"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"players_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 5px", "100%cm + 2px" ],
|
|
"controls": [
|
|
{
|
|
"label_text@common.minecraftTenLabel": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"text": "store.offerDescription.players",
|
|
"color": "$body_text_color"
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%sm" ]
|
|
}
|
|
},
|
|
{
|
|
"text_panel": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"text_stack_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c" ],
|
|
"offset": [ 0, 2 ],
|
|
"controls": [
|
|
{
|
|
"player_count_button_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%c", 10 ],
|
|
"orientation": "horizontal",
|
|
"use_priority": true,
|
|
"controls": [
|
|
{
|
|
"player_count_button_factory@pdp.player_count_factory": {}
|
|
},
|
|
{
|
|
"pad": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"player_count_range_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"player_count_range_text": {
|
|
"type": "label",
|
|
"size": [ "default", "100%" ],
|
|
"offset": [ -1, 0 ],
|
|
"font_type": "smooth",
|
|
"font_scale_factor": 0.8,
|
|
"text": "#player_count_range_label",
|
|
"color": "$body_text_color",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#player_count_range_label"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"note_text": {
|
|
"type": "label",
|
|
"size": [ "100%", "default" ],
|
|
"text": "store.offerDescription.playerCountNote",
|
|
"font_scale_factor": 0.8,
|
|
"font_type": "smooth",
|
|
"color": "$body_text_color"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"languages_panel": {
|
|
"visible": false, //TODO [ADO:661384]: remove this when languages are implemented in service
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100% - 5px", "100%cm - 7px" ],
|
|
"controls": [
|
|
{
|
|
"label_text_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"label_text@common.minecraftTenLabel": {
|
|
"type": "label",
|
|
"size": [ "default", "default" ],
|
|
"text": "store.offerDescription.languages",
|
|
"color": "$body_text_color"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%sm" ] //TODO [ADO:661384]: change fill to 2px when languages are implemented in service
|
|
}
|
|
},
|
|
{
|
|
"languages_factory": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"collection_name": "language_row_collection",
|
|
"size": [ "fill", 10 ],
|
|
"$language_factory_collection_name": "language_column_collection",
|
|
"$language_factory_size": [ "100%", "100%cm" ],
|
|
"$language_factory_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "language_row_collection",
|
|
"binding_collection_prefix": "language_row"
|
|
},
|
|
{
|
|
"binding_name": "#language_columns_collection_length",
|
|
"binding_type": "collection",
|
|
"binding_name_override": "#collection_length",
|
|
"binding_collection_name": "language_row_collection"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "language_row_collection",
|
|
"binding_collection_prefix": "row"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "language_column_collection",
|
|
"binding_name": "#language_label"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"$comma_text_bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "language_row_collection",
|
|
"binding_collection_prefix": "row"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "language_column_collection",
|
|
"binding_name": "#comma_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"factory": {
|
|
"name": "language_row_factory",
|
|
"control_ids": {
|
|
"language_row": "@pdp.language_row_factory"
|
|
},
|
|
"factory_variables": [
|
|
"$language_factory_collection_name",
|
|
"$language_factory_size",
|
|
"$language_factory_bindings",
|
|
"$label_text_bindings",
|
|
"$comma_text_bindings",
|
|
"$store_factory_collection_details",
|
|
"$store_factory_collection_name",
|
|
"$store_factory_collection_prefix"
|
|
]
|
|
},
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#language_rows_collection_length",
|
|
"binding_name_override": "#collection_length"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pad_3": {
|
|
"type": "panel",
|
|
"size": [ "100%", 3 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"show_less_button_panel@pdp.description_toggle_show_button_panel": {
|
|
"size": [ "100%", "100%cm" ],
|
|
"$button_text": "store.offerDescription.showLess",
|
|
"$border_offset": [ -1.5, -0.75 ],
|
|
"$show_button_offset": [ -1.5, -0.75 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#description_expanded_visible",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"description_section@pdp.content_section_boarder_bg": {
|
|
"$description_toggle_focus_id|default": "description_toggle_button",
|
|
"size": [ "100%", "100%c + 4px" ],
|
|
|
|
"$store_factory_collection_details|default": "none",
|
|
"$store_factory_collection_prefix|default": "",
|
|
"$store_factory_collection_name|default": "",
|
|
|
|
"focus_container": true,
|
|
"focus_wrap_enabled": false,
|
|
"focus_navigation_mode_left": "$main_content_focus_container_left",
|
|
"focus_container_custom_left": "$main_content_focus_container_left_custom",
|
|
|
|
"$content": "pdp.description_inner_panel"
|
|
},
|
|
|
|
"changelog_section@pdp.description_section": {
|
|
"$description_toggle_focus_id": "changelog_toggle_button"
|
|
},
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Bundle Section
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"bundle_thumbnail": {
|
|
"type": "image",
|
|
"size": [ "10%", "56.25%x" ],
|
|
"bilinear": true,
|
|
"layer": 10,
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "factory_collection",
|
|
"binding_collection_prefix": "factory"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#thumbnail_texture_path",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#thumbnail_texture_file_system",
|
|
"binding_name_override": "#texture_file_system"
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_thumbnail_section_content": {
|
|
"type": "panel",
|
|
"size": [ "100% - 2px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"bundle_thumbnail_grid": {
|
|
"type": "grid",
|
|
"size": [ "100%", "100%c" ],
|
|
"layer": 2,
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
|
|
"$bundle_thumbnail_grid_dimension_binding": "#bundle_thumbnail_grid_dimensions",
|
|
"grid_dimension_binding": "$bundle_thumbnail_grid_dimension_binding",
|
|
"grid_item_template": "pdp.bundle_thumbnail",
|
|
|
|
"collection_name": "$mashup_collection_name",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$bundle_thumbnail_grid_dimension_binding",
|
|
"binding_condition": "once"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_thumbnail_section@pdp.content_section_bg": {
|
|
"$bg_size": [ "100% - 4px", "100%c + 2px" ],
|
|
"$content": "pdp.bundle_thumbnail_section_content"
|
|
},
|
|
|
|
"price_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%c", "100%cm" ],
|
|
"$price_padding_size|default": [ 40, 0 ],
|
|
"controls": [
|
|
{
|
|
"coin_non_sale_price_label@common_store.offer_price_markdown_panel": {
|
|
"size": [ "100%c + 6px", 11 ],
|
|
"$offer_price_offset": [ 0, 1 ],
|
|
"$offer_price_strikethru_offset": [ 0, 0 ],
|
|
"$offer_binding_type": "$mashup_collection_binding_type",
|
|
"$offer_collection_name": "$mashup_collection_name"
|
|
}
|
|
},
|
|
{
|
|
"price_padding": {
|
|
"type": "panel",
|
|
"size": "$price_padding_size"
|
|
}
|
|
},
|
|
{
|
|
"offer_prompt_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", 11 ],
|
|
"controls": [
|
|
{
|
|
"offer_status_text": {
|
|
"type": "label",
|
|
"size": [ "default", 10 ],
|
|
"offset": [ 0, 1 ],
|
|
"text": "#offer_prompt_text",
|
|
"font_type": "smooth",
|
|
"$offer_price_color|default": "$dark_button_secondary_default_text_color",
|
|
"color": "$offer_price_color",
|
|
"tts_override_control_value": "#tts_offer_prompt_text",
|
|
"property_bag": {
|
|
"#default_prompt_color": "$dark_button_secondary_default_text_color",
|
|
"#coin_prompt_color": "$coin_color",
|
|
"control_id": "$control_id"
|
|
},
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#offer_prompt_text"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#tts_offer_prompt_text"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#offer_prompt_text_color",
|
|
"binding_name_override": "#color"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"padding_3": {
|
|
"type": "panel",
|
|
"size": [ 1, 0 ]
|
|
}
|
|
},
|
|
{
|
|
"coin_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", 11 ],
|
|
"controls": [
|
|
{
|
|
"offer_coin_icon@common_store.coin_icon": {
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#offer_coin_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"rating_and_coins_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", 13 ],
|
|
"layer": 4,
|
|
|
|
"$rating_text_factory_collection_details": "$store_factory_collection_details",
|
|
"$rating_text_factory_collection_prefix": "$store_factory_collection_prefix",
|
|
"$rating_text_factory_collection_name": "$store_factory_collection_name",
|
|
"$rating_text_binding_type": "$mashup_collection_binding_type",
|
|
"$rating_text_collection_name": "$mashup_collection_name",
|
|
"$store_rating_text_panel_color": "$dark_button_secondary_default_text_color",
|
|
|
|
"controls": [
|
|
{
|
|
"rating_panel@common_store.rating_text_panel": {}
|
|
},
|
|
{
|
|
"rating_padding_coin@pdp.horizontal_padding_fill": {}
|
|
},
|
|
{
|
|
"price_panel@pdp.price_panel": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_offer_texture": {
|
|
"type": "panel",
|
|
"size": [ "177.78%y", "100%" ],
|
|
"$image_type|default": "thumbnail",
|
|
"controls": [
|
|
{
|
|
"texture": {
|
|
"type": "image",
|
|
"size": [ "100%", "100%" ],
|
|
"layer": 3,
|
|
"bilinear": true,
|
|
"controls": [
|
|
{
|
|
"border@common_buttons.focus_border": {
|
|
"size": [ "100%", "100%" ],
|
|
"color": "$border_color",
|
|
"layer": "$border_layer"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "('#' + $image_type + '_texture_path')",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "('#' + $image_type + '_texture_file_system')",
|
|
"binding_name_override": "#texture_file_system"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#item_does_not_meet_requirements",
|
|
"binding_name_override": "#grayscale"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_offer_info": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "fill", "100%" ],
|
|
"controls": [
|
|
{
|
|
"top_padding@pdp.vertical_padding_4px": {}
|
|
},
|
|
{
|
|
"offer_title_and_author_panel@pdp.title_and_author_panel": {}
|
|
},
|
|
{
|
|
"glyph_section@pdp.horizontal_glyph_section_panel": {
|
|
"$glyph_section_only_show_count": true
|
|
}
|
|
},
|
|
{
|
|
"glyph_description_padding@pdp.vertical_padding_2px": {} // above section has 2px of bottom padding built in
|
|
},
|
|
{
|
|
"description_panel@pdp.description_section_panel": {
|
|
"size": [ "100%", 20 ],
|
|
"$ignore_read_more_button": true
|
|
}
|
|
},
|
|
{
|
|
"description_padding@pdp.vertical_padding_4px": {}
|
|
},
|
|
{
|
|
"description_padding_bottom@pdp.vertical_padding_fill": {}
|
|
},
|
|
{
|
|
"rating_and_price_panel@pdp.rating_and_coins_panel": {
|
|
"$ignored_pack_section": true,
|
|
"$sales_banner_offset": [ 3.2, 0 ],
|
|
"$coin_icon_offset": [ -2, 1.5 ]
|
|
}
|
|
},
|
|
{
|
|
"bottom_padding@pdp.vertical_padding_4px": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_offer_summary_grid_item_content": {
|
|
"type": "image",
|
|
"size": [ "100%", "100%c" ],
|
|
"texture": "textures/ui/Banners",
|
|
"$section_bg_alpha|default": 1.0,
|
|
"alpha": "$section_bg_alpha",
|
|
"controls": [
|
|
{
|
|
"bundle_offer_pdp_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 84 ],
|
|
"controls": [
|
|
{
|
|
"focus_border@common_buttons.focus_border": {
|
|
"color": "$border_color",
|
|
"layer": "$border_layer"
|
|
}
|
|
},
|
|
{
|
|
"bundle_offer_content_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%" ],
|
|
"layer": 2,
|
|
"$bundle_control_id": "bundle_suboffer",
|
|
"controls": [
|
|
{
|
|
"key_art@pdp.bundle_offer_texture": {}
|
|
},
|
|
{
|
|
"mid_padding@pdp.horizontal_padding_4px": {}
|
|
},
|
|
{
|
|
"info@pdp.bundle_offer_info": {}
|
|
},
|
|
{
|
|
"right_padding@pdp.horizontal_padding_4px": {}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_offer_summary_grid_item": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c + 2px" ],
|
|
"$focus_wrap_enabled": false,
|
|
"controls": [
|
|
{
|
|
"bundle_offer_summary_button@common_buttons.dark_content_button": {
|
|
"size": [ "100% - 4px", "100%c" ],
|
|
"$pressed_button_name": "button.select_bundle_summary_offer",
|
|
"$button_state_panel": "pdp.bundle_offer_summary_grid_item_content",
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "$mashup_collection_name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_offer_content_section": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"bundle_grid": {
|
|
"type": "grid",
|
|
"size": [ "100%", "default" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
|
|
"$bundle_offer_grid_dimension_binding": "#offer_grid_dimensions",
|
|
"grid_dimension_binding": "$bundle_offer_grid_dimension_binding",
|
|
"grid_item_template": "pdp.bundle_offer_summary_grid_item",
|
|
|
|
"collection_name": "$mashup_collection_name",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "$bundle_offer_grid_dimension_binding"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_summary_section_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c + 2px" ],
|
|
"clip_state_change_event": "$store_factory_clipping_event",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"bundle_summary_section": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c + 4px" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
|
|
"$store_factory_collection_details|default": "none",
|
|
"$store_factory_collection_prefix|default": "",
|
|
"$store_factory_collection_name|default": "",
|
|
|
|
"$mashup_collection_binding_type": "collection",
|
|
"$mashup_collection_name": "bundle_suboffer_collection",
|
|
|
|
"controls": [
|
|
{
|
|
"bundle_header_and_thumnails_section@pdp.bundle_thumbnail_section": {}
|
|
},
|
|
{
|
|
"mid_padding@pdp.vertical_padding_2px": {}
|
|
},
|
|
{
|
|
"bundle_offers_info_section@pdp.bundle_offer_content_section": {}
|
|
},
|
|
{
|
|
"mid_padding_2@pdp.vertical_padding_2px": {}
|
|
},
|
|
{
|
|
"interact_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"bundle_interact@pdp.interaction_button_panel": {
|
|
"size": [ "100% - 4px", 30 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"divider_3@common.horizontal_divider": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"$image_size": [ "100% - 6px", 1 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Bundle Upsell Section
|
|
//-------------------------------------------------------------------------------
|
|
|
|
"pack_icon_and_coin_section": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", 12 ],
|
|
"$is_purchase_button": false,
|
|
"$ignored_pack_section|default": false,
|
|
|
|
"$offer_binding_type": "$mashup_collection_binding_type",
|
|
"$offer_collection_name": "$mashup_collection_name",
|
|
|
|
"$icon_stack_visibility_type": "$mashup_collection_binding_type",
|
|
"$icon_stack_visibility_collection": "$mashup_collection_name",
|
|
"$icon_stack_visibility": "#NO_BINDING",
|
|
|
|
"controls": [
|
|
{
|
|
"sales_banner_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"controls": [
|
|
{
|
|
"sales_banner@common_store.markdown_background": {
|
|
"$sales_banner_offset|default": [ 0.2, 0 ],
|
|
"offset": "$sales_banner_offset",
|
|
"layer": 3,
|
|
"$markdown_label": "common_store.row_offer_sale_markdown"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#offer_markdown_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pack_icons_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%c", "100%" ],
|
|
"ignored": "$ignored_pack_section",
|
|
"controls": [
|
|
{
|
|
"padding": {
|
|
"type": "panel",
|
|
"size": [ 2, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"pack_icons_panel@common_store.pack_icon_stack": {
|
|
"$pack_icon_stack_factory_offset": [ 2, 2 ],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "(not #offer_markdown_visible)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pack_icons_and_coin_padding@pdp.horizontal_padding_fill": {}
|
|
},
|
|
{
|
|
"price_panel@pdp.price_panel": {
|
|
"$price_padding_size": [ 5, 0 ],
|
|
"$offer_price_color": "$coin_color"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_upsell_offer_info": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "fill", "100%" ],
|
|
"$single_line_label_offset": [ 2, 0 ],
|
|
"controls": [
|
|
{
|
|
"bundle_title@pdp.offer_title_label": {
|
|
"size": [ "100%", "100%c" ]
|
|
}
|
|
},
|
|
{
|
|
"other_bundle_packs_label@common.single_line_label": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$single_line_label_color": "$dark_button_secondary_default_text_color",
|
|
"$single_line_label_text": "#bundle_upsell_other_packs_description",
|
|
"$label_text_bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#bundle_upsell_other_packs_description"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"mid_padding": {
|
|
"type": "panel",
|
|
"size": [ "100%", 1 ]
|
|
}
|
|
},
|
|
{
|
|
"pack_icon_and_coin_section@pdp.pack_icon_and_coin_section": {
|
|
"$offer_strikethrough_price_visible_binding": "#bundle_upsell_strikethrough_price_visible"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_upsell_offer_content": {
|
|
"type": "image",
|
|
"size": [ "100%", "100%c" ],
|
|
"texture": "textures/ui/Banners",
|
|
"$section_bg_alpha|default": 1.0,
|
|
"alpha": "$section_bg_alpha",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#bundle_upsell_offer_alpha",
|
|
"binding_name_override": "#alpha"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"bundle_offer_info": {
|
|
"type": "panel",
|
|
"size": [ "100%", 34 ], // if changing, be sure to update the size of bundle_upsell_section_panel->progress_loading as well
|
|
"controls": [
|
|
{
|
|
"focus_border@common_buttons.focus_border": {
|
|
"color": "$border_color",
|
|
"layer": "$border_layer",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "bundle_offer_content_panel",
|
|
"source_property_name": "#visible",
|
|
"target_property_name": "#enabled",
|
|
"resolve_sibling_scope": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"bundle_offer_content_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%" ],
|
|
"layer": 2,
|
|
"controls": [
|
|
{
|
|
"thumbnail_art@pdp.bundle_offer_texture": {
|
|
"$image_type": "thumbnail"
|
|
}
|
|
},
|
|
{
|
|
"info@pdp.bundle_upsell_offer_info": {}
|
|
},
|
|
{
|
|
"right_padding@pdp.horizontal_padding_4px": {}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#is_valid_bundle_upsell",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"progress_loading@common_store.progress_loading": {
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"$hide_failure_text": true,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#is_bundle_upsell_loading",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_upsell_offer": {
|
|
"type": "panel",
|
|
"size": [ "50% - 1px", "100%c + 2px" ],
|
|
"controls": [
|
|
{
|
|
"bundle_upsell_grid_button@common_buttons.dark_content_button": {
|
|
"size": [ "100% - 2px", "100%c" ],
|
|
"$pressed_button_name": "button.select_offer",
|
|
"$button_state_panel": "pdp.bundle_upsell_offer_content",
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "$mashup_collection_name"
|
|
},
|
|
{
|
|
"binding_type": "$mashup_collection_binding_type",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#is_valid_bundle_upsell",
|
|
"binding_name_override": "#enabled"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#left_most_grid_item_focus_override_left",
|
|
"binding_name_override": "#focus_change_left"
|
|
},
|
|
{
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "$mashup_collection_name",
|
|
"binding_name": "#right_most_grid_item_focus_override_right",
|
|
"binding_name_override": "#focus_change_right",
|
|
"binding_condition": "visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_upsell_offers_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"single_bundle_upsell_offer@pdp.bundle_upsell_offer": {
|
|
"size": [ "100% - 2px", "100%c + 2px" ],
|
|
// using source control binding since we don't show
|
|
// the parent panel if there are no offers to view
|
|
"bindings": [
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "bundle_upsell_grid",
|
|
"source_property_name": "(not #visible)",
|
|
"target_property_name": "#visible",
|
|
"resolve_sibling_scope": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"bundle_upsell_grid": {
|
|
"type": "grid",
|
|
"size": [ "100%", "default" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
|
|
"grid_item_template": "pdp.bundle_upsell_offer",
|
|
"grid_rescaling_type": "horizontal",
|
|
|
|
"collection_name": "$mashup_collection_name",
|
|
|
|
"property_bag": {
|
|
"#max_upsell_offers": 10
|
|
},
|
|
|
|
"bindings": [
|
|
{
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_name": "#bundle_upsell_offer_count",
|
|
"binding_name_override": "#maximum_grid_items"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#bundle_upsell_grid_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#bundle_upsell_content_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"bundle_upsell_section_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c + 2px" ],
|
|
"clip_state_change_event": "$store_factory_clipping_event",
|
|
"controls": [
|
|
{
|
|
"bundle_upsell_section": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
|
|
"controls": [
|
|
{
|
|
"bundle_upsell_section_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%", "100%c + 4px" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
|
|
"$mashup_collection_binding_type": "collection",
|
|
"$mashup_collection_name": "bundle_upsell_collection",
|
|
|
|
"controls": [
|
|
{
|
|
"bundle_header@pdp.section_header": {}
|
|
},
|
|
{
|
|
"bundle_upsell_offers_panel@pdp.bundle_upsell_offers_panel": {}
|
|
},
|
|
{
|
|
"progress_loading_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"progress_loading@common_store.progress_loading": {
|
|
"size": [ "100% - 4px", 34 ], // height of upsell bundle offer + 2px
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"layer": 4,
|
|
"$hide_failure_text": true,
|
|
"$use_sibling_scope": false,
|
|
"$source_control_name": "bundle_upsell_offers_panel",
|
|
"$source_property_name": "(not #visible)"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#bundle_upsell_progress_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"divider_3@common.horizontal_divider": {
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"$image_size": [ "100% - 6px", 1 ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "$store_factory_collection_details",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_collection_prefix": "$store_factory_collection_prefix"
|
|
},
|
|
{
|
|
"binding_type": "$store_factory_binding_type",
|
|
"binding_collection_name": "$store_factory_collection_name",
|
|
"binding_name": "#bundle_upsell_row_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Screen
|
|
//--------------------------------------------------------------------------------
|
|
|
|
"pdp_screen@common_store.store_base_screen": {
|
|
"$screen_content": "pdp.mashup_screen_content",
|
|
"$screen_header_title_visible": false,
|
|
"$header_safezone_control": "common_store.store_top_bar_filler",
|
|
"$header_bar_control": "common_store.store_top_bar",
|
|
"$screen_background_control": "common_store.store_background",
|
|
"$is_full_screen_layout": true,
|
|
"$fill_alpha": 0.75,
|
|
"size": [ "100%", "100%" ],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_exit",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.controller_secondary_select",
|
|
"to_button_id": "button.search",
|
|
"mapping_type": "global",
|
|
"ignored": "$is_on_3p_server"
|
|
},
|
|
{
|
|
"from_button_id": "button.controller_select",
|
|
"to_button_id": "button.coin_wallet",
|
|
"mapping_type": "global"
|
|
}
|
|
]
|
|
},
|
|
|
|
"mashup_screen_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"header@common_store.store_header_with_coins": {
|
|
"$child_control": "pdp.mashup_screen_main",
|
|
"$button_text": "store.itemDetail.back",
|
|
"$back_button_has_title": true
|
|
}
|
|
},
|
|
{
|
|
"popup_dialog_factory": {
|
|
"type": "factory",
|
|
"size": [ 0, 0 ],
|
|
"control_ids": {
|
|
"no_store_connection": "@common_store.popup_dialog__no_store_connection",
|
|
"restore_popup": "@common_store.popup_dialog__restore_popup",
|
|
"restore_failed": "@common_store.popup_dialog__restore_failed"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"mashup_screen_main": {
|
|
"type": "input_panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "100%" ],
|
|
"controls": [
|
|
{
|
|
"pack_content@common.scrolling_panel": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"$scrolling_pane_size": [ "100%", "100%" ],
|
|
"$scrolling_pane_offset": [ 0, 0 ],
|
|
"$scroll_size": [ 5, "100% - 4px" ],
|
|
"$scrolling_content": "pdp.scrolling_content_stack",
|
|
"$scroll_bar_left_padding_size": [ 0, 0 ],
|
|
"$show_background": false,
|
|
"$bar_visible": false,
|
|
"$space_to_add_on_focus_change_left": 0,
|
|
"$space_to_add_on_focus_change_right": 0,
|
|
"$space_to_add_on_focus_change_down": 0,
|
|
"$space_to_add_on_focus_change_up": 0,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #page_loading_visible)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"progress_loading@common_store.progress_loading": {
|
|
"layer": 5,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#page_loading_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|