2023-01-29 16:49:47 +01: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 16:49:47 +01:00
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"name": "settingGroupTitles",
|
2023-01-29 16:49:47 +01:00
|
|
|
"type": "labelGroup",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 100, "y": 60},
|
2023-01-29 16:49:47 +01:00
|
|
|
"text": "vcmi.systemOptions.resolutionButton.hover"
|
|
|
|
},
|
|
|
|
{
|
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 16:49:47 +01: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 16:49:47 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "resolutionButton",
|
|
|
|
"type": "button",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 70},
|
2023-01-29 16:49:47 +01:00
|
|
|
"image": "buttons/resolution",
|
|
|
|
"help": "vcmi.systemOptions.resolutionButton",
|
|
|
|
"callback": "setGameResolution",
|
|
|
|
"hotkey": "g"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "resolutionLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 160, "y": 85}
|
2023-01-29 16:49:47 +01: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 16:49:47 +01: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 16:49:47 +01:00
|
|
|
"style": "brown",
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"itemsVisible": 0,
|
|
|
|
"itemsTotal": 100,
|
|
|
|
"callback": "setMusic"
|
|
|
|
},
|
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 16:49:47 +01: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 16:49:47 +01:00
|
|
|
"style": "brown",
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"itemsVisible": 0,
|
|
|
|
"itemsTotal": 100,
|
|
|
|
"callback": "setVolume"
|
2023-02-13 23:53:28 +01: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-13 23:53:28 +01:00
|
|
|
"text": "core.genrltxt.577"
|
|
|
|
},
|
|
|
|
{
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 45, "y": 355},
|
2023-02-13 23:53:28 +01:00
|
|
|
"text": "vcmi.systemOptions.fullscreenButton.hover"
|
|
|
|
},
|
|
|
|
{
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 45, "y": 385},
|
2023-02-13 23:53:28 +01:00
|
|
|
"text": "vcmi.systemOptions.framerateButton.hover"
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 45, "y": 415}
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 45, "y": 445}
|
2023-02-13 23:53:28 +01: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-13 23:53:28 +01:00
|
|
|
"callback": "spellbookAnimationChanged"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "fullscreenCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.systemOptions.fullscreenButton",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 353},
|
2023-02-13 23:53:28 +01:00
|
|
|
"callback": "fullscreenChanged"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "framerateCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.systemOptions.framerateButton",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 383},
|
2023-02-13 23:53:28 +01:00
|
|
|
"callback": "framerateChanged"
|
2023-02-18 16:35:07 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "availableCreaturesAsDwellingLabelCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.otherOptions.availableCreaturesAsDwellingLabel",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 413},
|
2023-02-18 16:35:07 +01:00
|
|
|
"callback": "availableCreaturesAsDwellingLabelChanged"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "compactTownCreatureInfoCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.otherOptions.compactTownCreatureInfo",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 443},
|
2023-02-18 16:35:07 +01:00
|
|
|
"callback": "compactTownCreatureInfoChanged"
|
2023-01-29 16:49:47 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|