1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/config/widgets/battleWindow.json

134 lines
2.4 KiB
JSON
Raw Normal View History

2022-12-25 12:22:07 +02:00
{
"items":
[
{
"type": "picture",
"name": "menuTactics",
"playerColored" : true,
"position": {"x": 0, "y": 556},
"image": "COPLACBR.bmp"
},
{
"type": "picture",
"name": "menuBattle",
"playerColored" : true,
"position": {"x": 1, "y": 555},
"image": "CBAR.bmp"
},
2022-12-25 12:22:07 +02:00
{
"type": "button",
"name": "options",
"position": {"x": 4, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm003",
2023-01-09 22:21:08 +02:00
"help": "core.help.381",
2022-12-25 12:22:07 +02:00
"callback": "options",
"hotkey": "o"
},
{
"type": "button",
"name": "surrender",
"position": {"x": 55, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm001",
2023-01-09 22:21:08 +02:00
"help": "core.help.379",
2022-12-25 12:22:07 +02:00
"callback": "surrender",
"hotkey": "s"
},
{
"type": "button",
"name": "flee",
"position": {"x": 106, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm002",
2023-01-09 22:21:08 +02:00
"help": "core.help.380",
2022-12-25 12:22:07 +02:00
"callback": "flee",
"hotkey": "r"
},
{
"type": "button",
"name": "autofight",
"position": {"x": 157, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm004",
2023-01-09 22:21:08 +02:00
"help": "core.help.382",
2022-12-25 12:22:07 +02:00
"callback": "autofight",
"hotkey": "a"
},
{
"type": "button",
"name": "cast",
"position": {"x": 646, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm005",
2023-01-09 22:21:08 +02:00
"help": "core.help.385",
2022-12-25 12:22:07 +02:00
"callback": "spellbook",
"hotkey": "c"
},
{
"type": "button",
"name": "wait",
"position": {"x": 697, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm006",
2023-01-09 22:21:08 +02:00
"help": "core.help.386",
2022-12-25 12:22:07 +02:00
"callback": "wait",
"hotkey": "w"
},
{
"type": "button",
"name": "defence",
"position": {"x": 748, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "icm007",
2023-01-09 22:21:08 +02:00
"help": "core.help.387",
2022-12-25 12:22:07 +02:00
"callback": "defence",
"hotkey": ["d", "space"]
},
{
"type": "button",
"name": "consoleUp",
"position": {"x": 625, "y": 560},
2022-12-25 12:22:07 +02:00
"image": "ComSlide",
"callback": "consoleUp",
"imageOrder": [0, 1, 0, 0],
"hotkey": "up"
},
{
"type": "button",
"name": "consoleDown",
"position": {"x": 625, "y": 579},
2022-12-25 12:22:07 +02:00
"image": "ComSlide",
"callback": "consoleDown",
"imageOrder": [2, 3, 2, 2],
"hotkey": "down"
},
{
"type": "battleConsole",
"name": "console",
"imagePosition" : { "x" : 214, "y" : 7 },
"rect": {"x": 215, "y": 562, "w": 400, "h": 32}
},
{
"type": "button",
"name": "tacticNext",
2023-01-11 13:27:43 +02:00
"position": {"x": 213, "y": 560},
"image": "icm011",
"callback": "tacticNext",
"hotkey": "space"
},
{
"type": "button",
"name": "tacticEnd",
2023-01-11 13:27:43 +02:00
"position": {"x": 419, "y": 560},
"image": "icm012",
"callback": "tacticEnd",
"hotkey": "enter"
2022-12-25 12:22:07 +02:00
}
]
2022-12-25 12:22:07 +02:00
}