1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/config/widgets/extraOptionsTab.json

86 lines
1.8 KiB
JSON
Raw Normal View History

2023-12-28 20:41:01 +02:00
{
2023-12-28 21:48:19 +02:00
"library" : "config/widgets/settings/library.json",
2023-12-28 20:41:01 +02:00
"items":
[
{
"name": "background",
"type": "picture",
2024-08-28 00:02:29 +02:00
"image": "AdventureOptionsBackgroundClear",
2023-12-28 20:41:01 +02:00
"position": {"x": 0, "y": 6}
},
2024-02-07 22:40:56 +02:00
{
"name": "textureCampaignOverdraw",
"type": "texture",
"color" : "blue",
"image": "DIBOXBCK",
"rect": {"x": 391, "y": 14, "w": 82, "h": 569}
},
2023-12-28 20:41:01 +02:00
{
"name": "labelTitle",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.optionsTab.extraOptions.hover",
"position": {"x": 222, "y": 36}
},
{
"name": "labelSubTitle",
"type": "multiLineLabel",
"font": "small",
"alignment": "center",
"color": "white",
"text": "vcmi.optionsTab.extraOptions.help",
"rect": {"x": 60, "y": 48, "w": 320, "h": 0},
"adoptHeight": true
},
{
2023-12-28 21:48:19 +02:00
"name": "ExtraOptionsButtons",
"type" : "verticalLayout",
"customType" : "toggleButton",
2023-12-28 20:41:01 +02:00
"position": {"x": 70, "y": 100},
2023-12-28 21:48:19 +02:00
"items":
[
{
"name": "buttonCheatAllowed",
"image": "lobby/checkbox",
"callback" : "setCheatAllowed",
2024-01-20 02:24:34 +02:00
"help" : "vcmi.optionsTab.cheatAllowed",
2023-12-28 21:48:19 +02:00
"selected" : true
},
{
"name": "buttonUnlimitedReplay",
"image": "lobby/checkbox",
"callback" : "setUnlimitedReplay",
2024-01-20 02:24:34 +02:00
"help" : "vcmi.optionsTab.unlimitedReplay",
"selected" : true
2023-12-28 21:48:19 +02:00
}
]
2023-12-28 20:41:01 +02:00
},
{
2023-12-28 21:48:19 +02:00
"name": "ExtraOptionsLabels",
"type" : "verticalLayout",
"customType" : "label",
"position": {"x": 110, "y": 103},
"items":
[
{
"name": "labelCheatAllowed",
"font": "small",
"alignment": "left",
"color": "yellow",
"text": "vcmi.optionsTab.cheatAllowed.hover"
},
{
"name": "labelUnlimitedReplay",
"font": "small",
"alignment": "left",
"color": "yellow",
"text": "vcmi.optionsTab.unlimitedReplay.hover"
}
]
2023-12-28 20:41:01 +02:00
}
]
}