2023-01-29 17:49:47 +02:00
|
|
|
{
|
|
|
|
"items":
|
|
|
|
[
|
2023-03-03 18:14:20 +02:00
|
|
|
{
|
|
|
|
"name": "lineLabelsEnd",
|
|
|
|
"type": "texture",
|
|
|
|
"image": "settingsWindow/lineHorizontal",
|
|
|
|
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
|
|
|
|
},
|
2023-01-29 17:49:47 +02:00
|
|
|
{
|
2023-03-04 00:33:16 +02:00
|
|
|
"name": "settingAudioTitles",
|
2023-01-29 17:49:47 +02:00
|
|
|
"type": "labelGroup",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 460, "y": 98},
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.394" // Music Volume
|
2023-01-29 17:49:47 +02:00
|
|
|
},
|
|
|
|
{
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 460, "y": 158},
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.395" // Effects volume
|
2023-01-29 17:49:47 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-03-04 00:33:16 +02:00
|
|
|
{
|
|
|
|
"name": "settingGroupTitles",
|
|
|
|
"type": "labelGroup",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "left",
|
|
|
|
"color": "yellow",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"position": {"x": 10, "y": 55},
|
|
|
|
"text": "vcmi.systemOptions.videoGroup"
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"position": {"x": 380, "y": 55},
|
|
|
|
"text": "vcmi.systemOptions.audioGroup"
|
|
|
|
}
|
|
|
|
{
|
|
|
|
"position": {"x": 10, "y": 295},
|
|
|
|
"text": "vcmi.systemOptions.otherGroup"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-01-29 17:49:47 +02:00
|
|
|
|
2023-03-04 00:33:16 +02:00
|
|
|
{
|
|
|
|
"name": "resolutionLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "left",
|
|
|
|
"color": "white",
|
|
|
|
"position": {"x": 45, "y": 85},
|
|
|
|
"text": "vcmi.systemOptions.resolutionButton.hover"
|
|
|
|
},
|
2023-01-29 17:49:47 +02:00
|
|
|
{
|
|
|
|
"name": "resolutionButton",
|
|
|
|
"type": "button",
|
2023-03-04 00:33:16 +02:00
|
|
|
"position": {"x": 10, "y": 82},
|
|
|
|
"image": "settingsWindow/button32",
|
2023-01-29 17:49:47 +02:00
|
|
|
"help": "vcmi.systemOptions.resolutionButton",
|
|
|
|
"callback": "setGameResolution",
|
2023-03-04 00:33:16 +02:00
|
|
|
"hotkey": "g",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "gearIcon",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/gear",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
2023-01-29 17:49:47 +02:00
|
|
|
},
|
2023-03-04 00:33:16 +02:00
|
|
|
|
2023-01-29 17:49:47 +02:00
|
|
|
{
|
2023-03-04 00:33:16 +02:00
|
|
|
"name": "topCheckboxesLabels",
|
|
|
|
"type": "labelGroup",
|
2023-01-29 17:49:47 +02:00
|
|
|
"font": "medium",
|
2023-03-04 00:33:16 +02:00
|
|
|
"alignment": "left",
|
|
|
|
"color": "white",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"position": {"x": 45, "y": 115},
|
|
|
|
"text": "vcmi.systemOptions.fullscreenButton.hover"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"position": {"x": 45, "y": 145},
|
|
|
|
"text": "vcmi.systemOptions.framerateButton.hover"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "fullscreenCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.systemOptions.fullscreenButton",
|
|
|
|
"position": {"x": 10, "y": 112},
|
|
|
|
"callback": "fullscreenChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "framerateCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.systemOptions.framerateButton",
|
|
|
|
"position": {"x": 10, "y": 142},
|
|
|
|
"callback": "framerateChanged"
|
2023-01-29 17:49:47 +02:00
|
|
|
},
|
|
|
|
|
2023-03-03 15:23:37 +02:00
|
|
|
{
|
|
|
|
"name": "frameMusic",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameAudio",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 380, "y": 80 }
|
2023-03-03 15:23:37 +02:00
|
|
|
},
|
2023-01-29 17:49:47 +02:00
|
|
|
{
|
|
|
|
"name": "musicSlider",
|
|
|
|
"type": "slider",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 385, "y": 115},
|
2023-03-03 15:23:37 +02:00
|
|
|
"size": 200,
|
2023-01-29 17:49:47 +02:00
|
|
|
"style": "brown",
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"itemsVisible": 0,
|
|
|
|
"itemsTotal": 100,
|
|
|
|
"callback": "setMusic"
|
|
|
|
},
|
2023-03-04 00:33:16 +02:00
|
|
|
{
|
|
|
|
"name": "musicValueLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
|
|
|
"position": {"x": 565, "y": 98}
|
|
|
|
},
|
2023-03-03 15:23:37 +02:00
|
|
|
|
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"name": "frameSound",
|
2023-03-03 15:23:37 +02:00
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameAudio",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 380, "y": 140 }
|
2023-03-03 15:23:37 +02:00
|
|
|
},
|
2023-01-29 17:49:47 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
"name": "soundVolumeSlider",
|
|
|
|
"type": "slider",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 385, "y": 175},
|
2023-03-03 15:23:37 +02:00
|
|
|
"size": 200,
|
2023-01-29 17:49:47 +02:00
|
|
|
"style": "brown",
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"itemsVisible": 0,
|
|
|
|
"itemsTotal": 100,
|
|
|
|
"callback": "setVolume"
|
2023-02-14 00:53:28 +02:00
|
|
|
},
|
2023-03-04 00:33:16 +02:00
|
|
|
{
|
|
|
|
"name": "soundValueLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
|
|
|
"position": {"x": 565, "y": 158}
|
|
|
|
},
|
2023-02-14 00:53:28 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
"name": "bottomCheckboxesLabels",
|
|
|
|
"type": "labelGroup",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "left",
|
|
|
|
"color": "white",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 45, "y": 325},
|
2023-02-14 00:53:28 +02:00
|
|
|
"text": "core.genrltxt.577"
|
|
|
|
},
|
2023-03-03 16:14:32 +02:00
|
|
|
{
|
|
|
|
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
|
2023-03-04 00:33:16 +02:00
|
|
|
"position": {"x": 45, "y": 355}
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
|
2023-03-04 00:33:16 +02:00
|
|
|
"position": {"x": 45, "y": 385}
|
2023-02-14 00:53:28 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "spellbookAnimationCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "core.help.364",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 323},
|
2023-02-14 00:53:28 +02:00
|
|
|
"callback": "spellbookAnimationChanged"
|
|
|
|
},
|
2023-02-18 17:35:07 +02:00
|
|
|
{
|
|
|
|
"name": "availableCreaturesAsDwellingLabelCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.otherOptions.availableCreaturesAsDwellingLabel",
|
2023-03-04 00:33:16 +02:00
|
|
|
"position": {"x": 10, "y": 353},
|
2023-02-18 17:35:07 +02:00
|
|
|
"callback": "availableCreaturesAsDwellingLabelChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "compactTownCreatureInfoCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.otherOptions.compactTownCreatureInfo",
|
2023-03-04 00:33:16 +02:00
|
|
|
"position": {"x": 10, "y": 383},
|
2023-02-18 17:35:07 +02:00
|
|
|
"callback": "compactTownCreatureInfoChanged"
|
2023-01-29 17:49:47 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|