| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- {
- "items":
- [
- {
- "name": "background",
- "type": "picture",
- "image": "vcmiSettingsWindow",
- "position": {"x": 0, "y": 0}
- },
- {
- "name": "settingsTabs",
- "type": "toggleGroup",
- "position": {
- "x": 0,
- "y": 0
- },
- "items":
- [
- {
- "index": 0,
- "type": "toggleButton",
- "position": {"x": 0, "y": 0},
- "image": "buttons/quadwide",
- "help": "vcmi.settingsMainWindow.systemTab",
- "items":
- [
- {
- "name": "generalTabButtonTitle",
- "type": "label",
- "font": "big",
- "alignment": "center",
- "color": "yellow",
- "text": "core.genrltxt.568"
- }
- ]
- },
- {
- "index": 1,
- "type": "toggleButton",
- "position": {"x": 150, "y": 0},
- "image": "buttons/quadwide",
- "help": "vcmi.settingsMainWindow.adventureTab",
- "items":
- [
- {
- "name": "generalTabButtonTitle",
- "type": "label",
- "font": "big",
- "alignment": "center",
- "color": "yellow",
- "text": "vcmi.settingsMainWindow.adventureTab.hover"
- }
- ]
- },
- {
- "index": 2,
- "type": "toggleButton",
- "position": {"x": 300, "y": 0},
- "image": "buttons/quadwide",
- "help": "vcmi.settingsMainWindow.battleTab",
- "items":
- [
- {
- "name": "adventureTabButtonTitle",
- "type": "label",
- "font": "big",
- "alignment": "center",
- "color": "yellow",
- "text": "core.genrltxt.392"
- }
- ]
- },
- {
- "index": 3,
- "type": "toggleButton",
- "position": {"x": 450, "y": 0},
- "image": "buttons/quadwide",
- "help": "vcmi.settingsMainWindow.otherTab",
- "items":
- [
- {
- "name": "otherTabButtonTitle",
- "type": "label",
- "font": "big",
- "alignment": "center",
- "color": "yellow",
- "text": "vcmi.settingsMainWindow.otherTab.hover"
- }
- ]
- }
- ],
- "callback": "activateSettingsTab"
- },
- {
- "name": "loadButton",
- "type": "button",
- "position": {"x": 386, "y": 383},
- "image": "SOLOAD.DEF",
- "imageOrder": [1, 0, 2, 3],
- "help": "core.help.321",
- "callback": "loadGame",
- "hotkey": "l"
- },
- {
- "name": "saveButton",
- "type": "button",
- "position": {"x": 497, "y": 383},
- "image": "SOSAVE.DEF",
- "imageOrder": [1, 0, 2, 3],
- "help": "core.help.322",
- "callback": "saveGame",
- "hotkey": "s"
- },
- {
- "name": "restartButton",
- "type": "button",
- "position": {"x": 386, "y": 442},
- "image": "SORSTRT.DEF",
- "imageOrder": [1, 0, 2, 3],
- "help": "core.help.323",
- "callback": "restartGame",
- "hotkey": "r"
- },
- {
- "name": "mainMenuButton",
- "type": "button",
- "position": {"x": 497, "y": 442},
- "image": "SOMAIN.DEF",
- "imageOrder": [1, 0, 2, 3],
- "help": "core.help.320",
- "callback": "returnToMainMenu",
- "hotkey": "m"
- },
- {
- "name": "quitButton",
- "type": "button",
- "position": {"x": 386, "y": 500},
- "image": "soquit.def",
- "imageOrder": [1, 0, 2, 3],
- "help": "core.help.324",
- "callback": "quitGame",
- "hotkey": "q"
- },
- {
- "name": "closeSettingsButton",
- "type": "button",
- "position": {"x": 497, "y": 500},
- "image": "soretrn.def",
- "imageOrder": [1, 0, 2, 3],
- "help": "core.help.325",
- "callback": "closeWindow",
- "hotkey": ["esc", "backspace"]
- }
- ]
- }
|