1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

Finalized general layout

This commit is contained in:
Ivan Savenko
2023-03-03 18:14:20 +02:00
parent b298895e61
commit 33603f87f3
7 changed files with 118 additions and 95 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -50,9 +50,12 @@
"vcmi.adventureOptions.forceMovementInfo.help" : "{Always show move info in status bar}\n\n Replaces default status bar info with movement points data without need to hold ALT button.", "vcmi.adventureOptions.forceMovementInfo.help" : "{Always show move info in status bar}\n\n Replaces default status bar info with movement points data without need to hold ALT button.",
"vcmi.adventureOptions.showGrid.hover" : "Show grid", "vcmi.adventureOptions.showGrid.hover" : "Show grid",
"vcmi.adventureOptions.showGrid.help" : "{Show grid}\n\n Shows grid overlay, showing borders between adventure map tiles.", "vcmi.adventureOptions.showGrid.help" : "{Show grid}\n\n Shows grid overlay, showing borders between adventure map tiles.",
"vcmi.adventureOptions.mapScrollSpeed4.hover": "",
"vcmi.adventureOptions.mapScrollSpeed5.hover": "",
"vcmi.adventureOptions.mapScrollSpeed6.hover": "",
"vcmi.adventureOptions.mapScrollSpeed4.help": "Set map scrolling speed to very fast", "vcmi.adventureOptions.mapScrollSpeed4.help": "Set map scrolling speed to very fast",
"vcmi.adventureOptions.mapScrollSpeed5.help": "Set map scrolling speed to extremely fast", "vcmi.adventureOptions.mapScrollSpeed5.help": "Set map scrolling speed to extremely fast",
"vcmi.adventureOptions.mapScrollSpeed5.help": "Set map scrolling speed to fast, very fast.", "vcmi.adventureOptions.mapScrollSpeed6.help": "Set map scrolling speed to fast, very fast.",
"vcmi.battleOptions.queueSizeLabel.hover": "Queue size (takes effect on next battle)", "vcmi.battleOptions.queueSizeLabel.hover": "Queue size (takes effect on next battle)",
"vcmi.battleOptions.queueSizeNoneButton.hover": "OFF", "vcmi.battleOptions.queueSizeNoneButton.hover": "OFF",

View File

@@ -5,25 +5,31 @@
"name": "lineMovementEnd", "name": "lineMovementEnd",
"type": "texture", "type": "texture",
"image": "settingsWindow/lineHorizontal", "image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 240, "w": 365, "h": 3} "rect": { "x" : 5, "y" : 22, "w": 365, "h": 3}
},
{
"name": "lineLabelsEnd",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
}, },
{ {
"name": "frameHeroMovement", "name": "frameHeroMovement",
"type": "picture", "type": "picture",
"image": "settingsWindow/frameMovement", "image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 57 } "position": {"x": 6, "y": 50 }
}, },
{ {
"name": "frameEnemyMovement", "name": "frameEnemyMovement",
"type": "picture", "type": "picture",
"image": "settingsWindow/frameMovement", "image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 117 } "position": {"x": 6, "y": 110 }
}, },
{ {
"name": "frameMapMovement", "name": "frameMapMovement",
"type": "picture", "type": "picture",
"image": "settingsWindow/frameMovement", "image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 177 } "position": {"x": 6, "y": 170 }
}, },
{ {
@@ -35,15 +41,15 @@
"items": "items":
[ [
{ {
"position": {"x": 150, "y": 70}, "position": {"x": 150, "y": 62},
"text": "core.genrltxt.569" // Hero Speed "text": "core.genrltxt.569" // Hero Speed
}, },
{ {
"position": {"x": 150, "y": 130}, "position": {"x": 150, "y": 122},
"text": "core.genrltxt.570" // Enemy Speed "text": "core.genrltxt.570" // Enemy Speed
}, },
{ {
"position": {"x": 150, "y": 190}, "position": {"x": 150, "y": 182},
"text": "core.genrltxt.571" // Scrolling Speed "text": "core.genrltxt.571" // Scrolling Speed
} }
] ]
@@ -52,7 +58,7 @@
{ {
"name": "heroMovementSpeedPicker", "name": "heroMovementSpeedPicker",
"type": "toggleGroup", "type": "toggleGroup",
"position": {"x": 10, "y": 80}, "position": {"x": 10, "y": 73},
"items": "items":
[ [
{ {
@@ -104,7 +110,7 @@
{ {
"name": "enemyMovementSpeedPicker", "name": "enemyMovementSpeedPicker",
"type": "toggleGroup", "type": "toggleGroup",
"position": {"x": 10, "y": 140}, "position": {"x": 10, "y": 133},
"items": "items":
[ [
{ {
@@ -161,7 +167,7 @@
{ {
"name": "mapScrollSpeedPicker", "name": "mapScrollSpeedPicker",
"type": "toggleGroup", "type": "toggleGroup",
"position": {"x": 10, "y": 200}, "position": {"x": 10, "y": 193},
"items": "items":
[ [
{ {
@@ -276,27 +282,27 @@
"items": "items":
[ [
{ {
"position": {"x": 45, "y": 302}, "position": {"x": 45, "y": 295},
"text": "core.genrltxt.572" // TODO: show move path "text": "core.genrltxt.572" // TODO: show move path
}, },
{ {
"position": {"x": 45, "y": 332}, "position": {"x": 45, "y": 325},
"text": "core.genrltxt.573" // show hero reminder "text": "core.genrltxt.573" // show hero reminder
}, },
{ {
"position": {"x": 45, "y": 362}, "position": {"x": 45, "y": 355},
"text": "core.genrltxt.574" // quick combat "text": "core.genrltxt.574" // quick combat
}, },
{ {
"position": {"x": 45, "y": 392}, "position": {"x": 45, "y": 385},
"text": "vcmi.adventureOptions.numericQuantities.hover" "text": "vcmi.adventureOptions.numericQuantities.hover"
}, },
{ {
"position": {"x": 45, "y": 422}, "position": {"x": 45, "y": 415},
"text": "vcmi.adventureOptions.forceMovementInfo.hover" "text": "vcmi.adventureOptions.forceMovementInfo.hover"
}, },
{ {
"position": {"x": 45, "y": 452}, "position": {"x": 45, "y": 445},
"text": "vcmi.adventureOptions.showGrid.hover" "text": "vcmi.adventureOptions.showGrid.hover"
} }
] ]
@@ -306,14 +312,14 @@
"name": "showMovePathPlaceholder", "name": "showMovePathPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 10, "y": 300}, "position": {"x": 10, "y": 293},
}, },
{ {
"name": "heroReminderCheckbox", "name": "heroReminderCheckbox",
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "core.help.361", "help": "core.help.361",
"position": {"x": 10, "y": 330}, "position": {"x": 10, "y": 323},
"callback": "heroReminderChanged" "callback": "heroReminderChanged"
}, },
{ {
@@ -321,7 +327,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "core.help.362", "help": "core.help.362",
"position": {"x": 10, "y": 360}, "position": {"x": 10, "y": 353},
"callback": "quickCombatChanged" "callback": "quickCombatChanged"
}, },
{ {
@@ -329,7 +335,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.adventureOptions.numericQuantities", "help": "vcmi.adventureOptions.numericQuantities",
"position": {"x": 10, "y": 390}, "position": {"x": 10, "y": 383},
"callback": "numericQuantitiesChanged" "callback": "numericQuantitiesChanged"
}, },
{ {
@@ -337,7 +343,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.adventureOptions.forceMovementInfo", "help": "vcmi.adventureOptions.forceMovementInfo",
"position": {"x": 10, "y": 420}, "position": {"x": 10, "y": 413},
"callback": "forceMovementInfoChanged" "callback": "forceMovementInfoChanged"
}, },
{ {
@@ -345,7 +351,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.adventureOptions.showGrid", "help": "vcmi.adventureOptions.showGrid",
"position": {"x": 10, "y": 450}, "position": {"x": 10, "y": 443},
"callback": "showGridChanged" "callback": "showGridChanged"
} }
] ]

View File

@@ -5,19 +5,13 @@
"name": "lineCreatureInfo", "name": "lineCreatureInfo",
"type": "texture", "type": "texture",
"image": "settingsWindow/lineHorizontal", "image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 205, "w": 365, "h": 3} "rect": { "x" : 5, "y" : 199, "w": 365, "h": 3}
}, },
{ {
"name": "lineAnimationSpeed", "name": "lineAnimationSpeed",
"type": "texture", "type": "texture",
"image": "settingsWindow/lineHorizontal", "image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 295, "w": 365, "h": 3} "rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
},
{
"name": "lineQueueSize",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 365, "w": 365, "h": 3}
}, },
{ {
@@ -30,11 +24,11 @@
[ [
{ {
"text": "core.genrltxt.396", // Auto-combat options "text": "core.genrltxt.396", // Auto-combat options
"position": {"x": 380, "y": 60} "position": {"x": 380, "y": 55}
}, },
{ {
"text": "core.genrltxt.397", // Creature info "text": "core.genrltxt.397", // Creature info
"position": {"x": 10, "y": 210} "position": {"x": 10, "y": 205}
} }
] ]
}, },
@@ -48,23 +42,23 @@
[ [
{ {
"text": "core.genrltxt.398", // Creatures "text": "core.genrltxt.398", // Creatures
"position": {"x": 415, "y": 92} "position": {"x": 415, "y": 85}
}, },
{ {
"text": "core.genrltxt.399", // Spells "text": "core.genrltxt.399", // Spells
"position": {"x": 415, "y": 122} "position": {"x": 415, "y": 115}
}, },
{ {
"text": "core.genrltxt.400", // Catapult "text": "core.genrltxt.400", // Catapult
"position": {"x": 415, "y": 152} "position": {"x": 415, "y": 145}
}, },
{ {
"text": "core.genrltxt.151", // Ballista "text": "core.genrltxt.151", // Ballista
"position": {"x": 415, "y": 182} "position": {"x": 415, "y": 175}
}, },
{ {
"text": "core.genrltxt.401", // First Aid Tent "text": "core.genrltxt.401", // First Aid Tent
"position": {"x": 415, "y": 212} "position": {"x": 415, "y": 205}
} }
] ]
}, },
@@ -72,31 +66,31 @@
"name": "autoCombatCreaturesPlaceholder", "name": "autoCombatCreaturesPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 380, "y": 90}, "position": {"x": 380, "y": 83},
}, },
{ {
"name": "autoCombatSpellsPlaceholder", "name": "autoCombatSpellsPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 380, "y": 120}, "position": {"x": 380, "y": 113},
}, },
{ {
"name": "autoCombatCatapultPlaceholder", "name": "autoCombatCatapultPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 380, "y": 150}, "position": {"x": 380, "y": 143},
}, },
{ {
"name": "autoCombatBallistaPlaceholder", "name": "autoCombatBallistaPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 380, "y": 180}, "position": {"x": 380, "y": 173},
}, },
{ {
"name": "autoCombatFirstAidTentPlaceholder", "name": "autoCombatFirstAidTentPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 380, "y": 210}, "position": {"x": 380, "y": 203},
}, },
{ {
@@ -109,11 +103,11 @@
[ [
{ {
"text": "core.genrltxt.402", // All Stats "text": "core.genrltxt.402", // All Stats
"position": {"x": 45, "y": 242} "position": {"x": 45, "y": 235}
}, },
{ {
"text": "core.genrltxt.403", // Spells only "text": "core.genrltxt.403", // Spells only
"position": {"x": 45, "y": 272} "position": {"x": 45, "y": 265}
} }
] ]
}, },
@@ -121,13 +115,13 @@
"name": "creatureInfoAllPlaceholder", "name": "creatureInfoAllPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 10, "y": 240}, "position": {"x": 10, "y": 233},
}, },
{ {
"name": "creatureInfoSpellsPlaceholder", "name": "creatureInfoSpellsPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 10, "y": 270}, "position": {"x": 10, "y": 263},
}, },
{ {
@@ -140,23 +134,23 @@
[ [
{ {
"text": "core.genrltxt.404", "text": "core.genrltxt.404",
"position": {"x": 45, "y": 62} "position": {"x": 45, "y": 55}
}, },
{ {
"text": "core.genrltxt.405", "text": "core.genrltxt.405",
"position": {"x": 45, "y": 92} "position": {"x": 45, "y": 85}
}, },
{ {
"text": "core.genrltxt.406", "text": "core.genrltxt.406",
"position": {"x": 45, "y": 122} "position": {"x": 45, "y": 115}
}, },
{ {
"text": "core.genrltxt.407", "text": "core.genrltxt.407",
"position": {"x": 45, "y": 152} "position": {"x": 45, "y": 145}
}, },
{ {
"text": "vcmi.battleOptions.skipBattleIntroMusic.hover", "text": "vcmi.battleOptions.skipBattleIntroMusic.hover",
"position": {"x": 45, "y": 182} "position": {"x": 45, "y": 175}
} }
] ]
}, },
@@ -166,7 +160,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "core.help.427", "help": "core.help.427",
"position": {"x": 10, "y": 60}, "position": {"x": 10, "y": 53},
"callback": "viewGridChanged" "callback": "viewGridChanged"
}, },
{ {
@@ -174,7 +168,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "core.help.428", "help": "core.help.428",
"position": {"x": 10, "y": 90}, "position": {"x": 10, "y": 83},
"callback": "movementShadowChanged" "callback": "movementShadowChanged"
}, },
{ {
@@ -182,24 +176,30 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "core.help.429", "help": "core.help.429",
"position": {"x": 10, "y": 120}, "position": {"x": 10, "y": 113},
"callback": "mouseShadowChanged" "callback": "mouseShadowChanged"
}, },
{ {
"name": "battleFieldCasualtiesPlaceholder", "name": "battleFieldCasualtiesPlaceholder",
"type": "picture", "type": "picture",
"image": "settingsWindow/checkBoxEmpty", "image": "settingsWindow/checkBoxEmpty",
"position": {"x": 10, "y": 150}, "position": {"x": 10, "y": 143},
}, },
{ {
"name": "skipBattleIntroMusicCheckbox", "name": "skipBattleIntroMusicCheckbox",
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.battleOptions.skipBattleIntroMusic", "help": "vcmi.battleOptions.skipBattleIntroMusic",
"position": {"x": 10, "y": 180}, "position": {"x": 10, "y": 173},
"callback": "skipBattleIntroMusicChanged" "callback": "skipBattleIntroMusicChanged"
}, },
{
"name": "frameAnimationSpeed",
"type": "picture",
"image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 350 }
},
{ {
"name": "animationSpeedLabel", "name": "animationSpeedLabel",
"type": "label", "type": "label",
@@ -207,18 +207,12 @@
"alignment": "center", "alignment": "center",
"color": "yellow", "color": "yellow",
"text": "core.genrltxt.393", "text": "core.genrltxt.393",
"position": {"x": 150, "y": 320} "position": {"x": 150, "y": 362}
},
{
"name": "frameAnimationSpeed",
"type": "picture",
"image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 307 }
}, },
{ {
"name": "animationSpeedPicker", "name": "animationSpeedPicker",
"type": "toggleGroup", "type": "toggleGroup",
"position": {"x": 10, "y": 330}, "position": {"x": 10, "y": 373},
"items": "items":
[ [
{ {
@@ -321,20 +315,27 @@
"callback": "animationSpeedChanged" "callback": "animationSpeedChanged"
}, },
{
"name": "frameQueueSize",
"type": "picture",
"image": "settingsWindow/frameStackQueue",
"position": {"x": 6, "y": 410 }
},
{ {
"name": "queueSizeLabel", "name": "queueSizeLabel",
"type": "label", "type": "label",
"font": "medium", "font": "medium",
"alignment": "left", "alignment": "center",
"color": "yellow", "color": "yellow",
"text": "vcmi.battleOptions.queueSizeLabel.hover", "text": "vcmi.battleOptions.queueSizeLabel.hover",
"position": {"x": 10, "y": 400} "position": {"x": 170, "y": 422}
}, },
{ {
"name": "queueSizePicker", "name": "queueSizePicker",
"type": "toggleGroup", "type": "toggleGroup",
"position": {"x": 10, "y": 430}, "position": {"x": 10, "y": 434},
"items": "items":
[ [
{ {

View File

@@ -1,6 +1,12 @@
{ {
"items": "items":
[ [
{
"name": "lineLabelsEnd",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
},
{ {
"name": "settingGroupTitles", "name": "settingGroupTitles",
"type": "labelGroup", "type": "labelGroup",
@@ -14,11 +20,11 @@
"text": "vcmi.systemOptions.resolutionButton.hover" "text": "vcmi.systemOptions.resolutionButton.hover"
}, },
{ {
"position": {"x": 455, "y": 78}, "position": {"x": 460, "y": 98},
"text": "core.genrltxt.394" // Music Volume "text": "core.genrltxt.394" // Music Volume
}, },
{ {
"position": {"x": 455, "y": 138}, "position": {"x": 460, "y": 158},
"text": "core.genrltxt.395" // Effects volume "text": "core.genrltxt.395" // Effects volume
} }
] ]
@@ -47,13 +53,13 @@
"name": "frameMusic", "name": "frameMusic",
"type": "picture", "type": "picture",
"image": "settingsWindow/frameAudio", "image": "settingsWindow/frameAudio",
"position": {"x": 375, "y": 60 } "position": {"x": 380, "y": 80 }
}, },
{ {
"name": "musicSlider", "name": "musicSlider",
"type": "slider", "type": "slider",
"position": {"x": 380, "y": 95}, "position": {"x": 385, "y": 115},
"size": 200, "size": 200,
"style": "brown", "style": "brown",
"orientation": "horizontal", "orientation": "horizontal",
@@ -66,13 +72,13 @@
"name": "frameSound", "name": "frameSound",
"type": "picture", "type": "picture",
"image": "settingsWindow/frameAudio", "image": "settingsWindow/frameAudio",
"position": {"x": 375, "y": 120 } "position": {"x": 380, "y": 140 }
}, },
{ {
"name": "soundVolumeSlider", "name": "soundVolumeSlider",
"type": "slider", "type": "slider",
"position": {"x": 380, "y": 155}, "position": {"x": 385, "y": 175},
"size": 200, "size": 200,
"style": "brown", "style": "brown",
"orientation": "horizontal", "orientation": "horizontal",
@@ -90,24 +96,24 @@
"items": "items":
[ [
{ {
"position": {"x": 45, "y": 332}, "position": {"x": 45, "y": 325},
"text": "core.genrltxt.577" "text": "core.genrltxt.577"
}, },
{ {
"position": {"x": 45, "y": 362}, "position": {"x": 45, "y": 355},
"text": "vcmi.systemOptions.fullscreenButton.hover" "text": "vcmi.systemOptions.fullscreenButton.hover"
}, },
{ {
"position": {"x": 45, "y": 392}, "position": {"x": 45, "y": 385},
"text": "vcmi.systemOptions.framerateButton.hover" "text": "vcmi.systemOptions.framerateButton.hover"
}, },
{ {
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover", "text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
"position": {"x": 45, "y": 422} "position": {"x": 45, "y": 415}
}, },
{ {
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover", "text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
"position": {"x": 45, "y": 452} "position": {"x": 45, "y": 445}
} }
] ]
}, },
@@ -117,7 +123,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "core.help.364", "help": "core.help.364",
"position": {"x": 10, "y": 330}, "position": {"x": 10, "y": 323},
"callback": "spellbookAnimationChanged" "callback": "spellbookAnimationChanged"
}, },
@@ -126,7 +132,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.systemOptions.fullscreenButton", "help": "vcmi.systemOptions.fullscreenButton",
"position": {"x": 10, "y": 360}, "position": {"x": 10, "y": 353},
"callback": "fullscreenChanged" "callback": "fullscreenChanged"
}, },
@@ -135,7 +141,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.systemOptions.framerateButton", "help": "vcmi.systemOptions.framerateButton",
"position": {"x": 10, "y": 390}, "position": {"x": 10, "y": 383},
"callback": "framerateChanged" "callback": "framerateChanged"
}, },
@@ -144,7 +150,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.otherOptions.availableCreaturesAsDwellingLabel", "help": "vcmi.otherOptions.availableCreaturesAsDwellingLabel",
"position": {"x": 10, "y": 420}, "position": {"x": 10, "y": 413},
"callback": "availableCreaturesAsDwellingLabelChanged" "callback": "availableCreaturesAsDwellingLabelChanged"
}, },
@@ -153,7 +159,7 @@
"type": "toggleButton", "type": "toggleButton",
"image": "sysopchk.def", "image": "sysopchk.def",
"help": "vcmi.otherOptions.compactTownCreatureInfo", "help": "vcmi.otherOptions.compactTownCreatureInfo",
"position": {"x": 10, "y": 450}, "position": {"x": 10, "y": 443},
"callback": "compactTownCreatureInfoChanged" "callback": "compactTownCreatureInfoChanged"
} }
] ]

View File

@@ -7,6 +7,12 @@
"image": "DiBoxBck", "image": "DiBoxBck",
"rect": {"w": 600, "h": 480} "rect": {"w": 600, "h": 480}
}, },
// {
// "name": "debugGrid",
// "type": "texture",
// "image": "settingsWindow/debugGrid",
// "rect": {"w": 600, "h": 480}
// },
{ {
"name": "lineTabs", "name": "lineTabs",
"type": "texture", "type": "texture",
@@ -90,65 +96,66 @@
"callback": "activateSettingsTab" "callback": "activateSettingsTab"
}, },
{
"name": "lineButtons",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 375, "y" : 289, "w": 220, "h": 3}
},
{ {
"name": "loadButton", "name": "loadButton",
"type": "button", "type": "button",
"position": {"x": 380, "y": 300}, "position": {"x": 380, "y": 306},
"image": "SOLOAD.DEF", "image": "SOLOAD.DEF",
"imageOrder": [1, 0, 2, 3], "imageOrder": [1, 0, 2, 3],
"help": "core.help.321", "help": "core.help.321",
"callback": "loadGame", "callback": "loadGame",
"hotkey": "l" "hotkey": "l"
}, },
{ {
"name": "saveButton", "name": "saveButton",
"type": "button", "type": "button",
"position": {"x": 490, "y": 300}, "position": {"x": 490, "y": 306},
"image": "SOSAVE.DEF", "image": "SOSAVE.DEF",
"imageOrder": [1, 0, 2, 3], "imageOrder": [1, 0, 2, 3],
"help": "core.help.322", "help": "core.help.322",
"callback": "saveGame", "callback": "saveGame",
"hotkey": "s" "hotkey": "s"
}, },
{ {
"name": "restartButton", "name": "restartButton",
"type": "button", "type": "button",
"position": {"x": 380, "y": 360}, "position": {"x": 380, "y": 364},
"image": "SORSTRT.DEF", "image": "SORSTRT.DEF",
"imageOrder": [1, 0, 2, 3], "imageOrder": [1, 0, 2, 3],
"help": "core.help.323", "help": "core.help.323",
"callback": "restartGame", "callback": "restartGame",
"hotkey": "r" "hotkey": "r"
}, },
{ {
"name": "mainMenuButton", "name": "mainMenuButton",
"type": "button", "type": "button",
"position": {"x": 490, "y": 360}, "position": {"x": 490, "y": 364},
"image": "SOMAIN.DEF", "image": "SOMAIN.DEF",
"imageOrder": [1, 0, 2, 3], "imageOrder": [1, 0, 2, 3],
"help": "core.help.320", "help": "core.help.320",
"callback": "returnToMainMenu", "callback": "returnToMainMenu",
"hotkey": "m" "hotkey": "m"
}, },
{ {
"name": "quitButton", "name": "quitButton",
"type": "button", "type": "button",
"position": {"x": 380, "y": 420}, "position": {"x": 380, "y": 422},
"image": "soquit.def", "image": "soquit.def",
"imageOrder": [1, 0, 2, 3], "imageOrder": [1, 0, 2, 3],
"help": "core.help.324", "help": "core.help.324",
"callback": "quitGame", "callback": "quitGame",
"hotkey": "q" "hotkey": "q"
}, },
{ {
"name": "closeSettingsButton", "name": "closeSettingsButton",
"type": "button", "type": "button",
"position": {"x": 490, "y": 420}, "position": {"x": 490, "y": 422},
"image": "soretrn.def", "image": "soretrn.def",
"imageOrder": [1, 0, 2, 3], "imageOrder": [1, 0, 2, 3],
"help": "core.help.325", "help": "core.help.325",