130 lines
4.5 KiB
JSON
130 lines
4.5 KiB
JSON
{
|
|
"root": {
|
|
"type": "FrameLayout",
|
|
"name": "hud_root",
|
|
"width": "match_parent",
|
|
"height": "match_parent",
|
|
"vertical_align": "center",
|
|
"horizontal_align": "center",
|
|
"children": [
|
|
{
|
|
"type": "Button",
|
|
"name": "modalExitButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"y": 0,
|
|
"width": "match_parent",
|
|
"height": "match_parent",
|
|
"textures": {
|
|
"normal": "resources/transparent.png",
|
|
"hover": "resources/transparent.png",
|
|
"pressed": "resources/transparent.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "StaticImage",
|
|
"name": "background",
|
|
"width": 832,
|
|
"height": 712,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"texture": "resources/w/ui/img/modal/Menu004.png"
|
|
},
|
|
{
|
|
"type": "StaticImage",
|
|
"name": "header",
|
|
"width": 129,
|
|
"height": 55.5,
|
|
"y": 220,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"texture": "resources/w/ui_en/img/modal/MenuHeading002.png"
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "menuCloseButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"width": 100,
|
|
"height": 100,
|
|
"clickZoneWidth": 56,
|
|
"clickZoneHeight": 56,
|
|
"x" : 270,
|
|
"y" : 210,
|
|
"textures": {
|
|
"normal": "resources/w/ui/img/modal/ModalClose001State=Default.png",
|
|
"hover": "resources/w/ui/img/modal/ModalClose001State=Selected.png",
|
|
"pressed": "resources/w/ui/img/modal/ModalClose001State=Tap.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "menuSaveButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"width": 664,
|
|
"height": 164,
|
|
"clickZoneWidth": 584,
|
|
"clickZoneHeight": 84,
|
|
"x" : 0,
|
|
"y" : 110,
|
|
"textures": {
|
|
"normal": "resources/w/ui_en/img/modal/SaveGame001State=Default001.png",
|
|
"hover": "resources/w/ui_en/img/modal/SaveGame001State=Selected001.png",
|
|
"pressed": "resources/w/ui_en/img/modal/SaveGame001State=Tap001.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "menuLoadButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"width": 664,
|
|
"height": 164,
|
|
"clickZoneWidth": 584,
|
|
"clickZoneHeight": 84,
|
|
"x" : 0,
|
|
"y" : 10,
|
|
"textures": {
|
|
"normal": "resources/w/ui_en/img/modal/LoadGame001State=Default001.png",
|
|
"hover": "resources/w/ui_en/img/modal/LoadGame001State=Selected001.png",
|
|
"pressed": "resources/w/ui_en/img/modal/LoadGame001State=Tap001.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "menuSettingsButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"width": 664,
|
|
"height": 164,
|
|
"clickZoneWidth": 584,
|
|
"clickZoneHeight": 84,
|
|
"x" : 0,
|
|
"y" : -90,
|
|
"textures": {
|
|
"normal": "resources/w/ui_en/img/modal/SettingsDefault002.png",
|
|
"hover": "resources/w/ui_en/img/modal/SettingsSelected002.png",
|
|
"pressed": "resources/w/ui_en/img/modal/SettingsTap002.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "menuExitButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"width": 664,
|
|
"height": 164,
|
|
"clickZoneWidth": 584,
|
|
"clickZoneHeight": 84,
|
|
"x" : 0,
|
|
"y" : -190,
|
|
"textures": {
|
|
"normal": "resources/w/ui_en/img/modal/ExitGame001State=Default001.png",
|
|
"hover": "resources/w/ui_en/img/modal/ExitGame001State=Selected001.png",
|
|
"pressed": "resources/w/ui_en/img/modal/ExitGame001State=Tap001.png"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |