{
"namespace": "phone_template",
"null": {
"type": "image",
"texture": "textures/null",
"layer": 3,
"size": [ 36, 36 ]
},
//phone_template.empty
"empty@common_buttons.light_content_button": {
"size": [ 45, 45 ],
"$button_content": "phone_template.null"
},
"button_with_image@common_buttons.light_content_button": {
"size": [ 45, 45 ],
"$button_content": "phone_template.null"
"controls": [
"content@phone_template.common_button_control": {}}
]
},
"common_button_control": {
"type": "panel",
"$glyph_offset|default": [ 5, 0 ],
"$glyph_anchor_from|default": "left_middle",
"$glyph_anchor_to|default": "left_middle",
"$button_label_offset|default": [ 34, 0 ],
"controls": [
{
"glyph": {
"type": "image",
"anchor_from": "$glyph_anchor_from",
"anchor_to": "$glyph_anchor_to",
"offset": "$glyph_offset",
"texture": "$glyph_texture",
"size": "$glyph_size",
"layer": 3,
"color": "$glyph_color",
}
},
{
"tab_button_text": {
"type": "label",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"size": [ "100% - 38px", "default" ],
"max_size": [ "100% - 38px", "100% - 4px" ],
"offset": "$button_label_offset",
"text": "$button_text",
"layer": 3,
"color": "$text_color",
}
}
]
}
"toggle_button_control": {
"type": "panel",
"$glyph_offset|default": [ 5, 0 ],
"$glyph_anchor_from|default": "left_middle",
"$glyph_anchor_to|default": "left_middle",
"$button_label_offset|default": [ 34, 0 ],
"layer": 2,
"controls": [
{
"glyph": {
"type": "image",
"anchor_from": "$glyph_anchor_from",
"anchor_to": "$glyph_anchor_to",
"offset": "$glyph_offset",
"texture": "$glyph_texture",
"size": "$glyph_size",
"layer": 3,
"color": "$glyph_color",
"alpha": "$content_alpha",
"$glyph_bindings|default": [],
"bindings": "$glyph_bindings"
}
},
{
"glyph_color": {
"type": "image",
"anchor_from": "$glyph_anchor_from",
"anchor_to": "$glyph_anchor_to",
"offset": "$glyph_offset",
"texture": "$glyph_color_texture",
"size": "$glyph_size",
"layer": 4,
"alpha": "$content_alpha",
"$glyph_color_bindings|default": [],
"bindings": "$glyph_color_bindings"
}
},
{
"progress_loading_bars@progress.progress_loading_bars": {
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"color": "$glyph_color",
"offset": [ 5, 0 ],
"layer": 5,
"size": "$glyph_size",
"visible": false,
"$glyph_progress_bindings|default": [],
"bindings": "$glyph_progress_bindings"
}
},
{
"tab_button_text": {
"type": "label",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"size": [ "100% - 38px", "default" ],
"max_size": [ "100% - 38px", "100% - 4px" ],
"offset": "$button_label_offset",
"text": "$button_text",
"layer": 3,
"color": "$text_color",
"alpha": "$content_alpha",
"$button_text_binding_type|default": "none",
"$button_text_grid_collection_name|default": "",
"$button_text_binding_condition|default": "none",
"bindings": [
{
"binding_type": "$button_text_binding_type",
"binding_condition": "$button_text_binding_condition",
"binding_collection_name": "$button_text_grid_collection_name",
"binding_name": "$button_text",
"binding_name_override": "$button_text"
}
]
}
}
]
},
"section_toggle_base@common_toggles.light_ui_toggle": {
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%", "30px" ],
"$button_size_override": [ "100%", "100% + 1px" ],
"$button_type_panel": "phone_template.toggle_button_control",
"$radio_toggle_group": true,
"$toggle_name": "navigation_tab",
"$toggle_group_default_selected": "$default_selector_toggle_index",
"$toggle_tab_focus_binding_type": "global",
"$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence",
"$toggle_on_hover_binding_type": "global",
"$toggle_on_hover_binding_name": "#toggle_on_hover",
"$toggle_tts_toggle_on_text": "accessibility.state.selected",
"$toggle_tts_toggle_off_text": "accessibility.state.unselected",
"$toggle_tts_name": "accessibility.tab.tts.title"
}
}
© 2023 Quttera Ltd. All rights reserved.