mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Merge pull request #2177 from krs0/feature/Move_battle_fake_lables_into_separate_group
Move battle fake labels into separate group, and small fixes
This commit is contained in:
@@ -66,24 +66,30 @@
|
|||||||
},
|
},
|
||||||
/////////////////////////////////////// Left section - checkboxes
|
/////////////////////////////////////// Left section - checkboxes
|
||||||
{
|
{
|
||||||
"type": "labelDescription",
|
"name": "creatureInfoLabels",
|
||||||
"text": "core.genrltxt.402", // All Stats
|
"type" : "verticalLayout",
|
||||||
"position": {"x": 45, "y": 265}
|
"customType" : "labelDescription",
|
||||||
|
"position": {"x": 45, "y": 265},
|
||||||
|
"items":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"text": "core.genrltxt.402",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "core.genrltxt.403",
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "labelDescription",
|
"name": "creatureInfoCheckboxes",
|
||||||
"text": "core.genrltxt.403", // Spells only
|
"type" : "verticalLayout",
|
||||||
"position": {"x": 45, "y": 295}
|
"customType" : "checkboxFake",
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "creatureInfoAllPlaceholder",
|
|
||||||
"type": "checkboxFake",
|
|
||||||
"position": {"x": 10, "y": 263},
|
"position": {"x": 10, "y": 263},
|
||||||
},
|
"items":
|
||||||
{
|
[
|
||||||
"name": "creatureInfoSpellsPlaceholder",
|
{},
|
||||||
"type": "checkboxFake",
|
{}
|
||||||
"position": {"x": 10, "y": 293},
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "generalOptionsLabels",
|
"name": "generalOptionsLabels",
|
||||||
|
@@ -9,6 +9,12 @@
|
|||||||
"image": "settingsWindow/lineHorizontal",
|
"image": "settingsWindow/lineHorizontal",
|
||||||
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
|
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "lineCreatureNumbersToggleGroupEnd",
|
||||||
|
"type": "texture",
|
||||||
|
"image": "settingsWindow/lineHorizontal",
|
||||||
|
"rect": { "x" : 5, "y" : 383, "w": 220, "h": 3}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type" : "labelTitle",
|
"type" : "labelTitle",
|
||||||
"position": {"x": 10, "y": 55},
|
"position": {"x": 10, "y": 55},
|
||||||
@@ -76,13 +82,13 @@
|
|||||||
{
|
{
|
||||||
"name": "fullscreenBorderlessCheckbox",
|
"name": "fullscreenBorderlessCheckbox",
|
||||||
"help": "vcmi.systemOptions.fullscreenBorderless",
|
"help": "vcmi.systemOptions.fullscreenBorderless",
|
||||||
"callback": "fullscreenBorderlessChanged"
|
"callback": "fullscreenBorderlessChanged",
|
||||||
"created" : "desktop"
|
"created" : "desktop"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fullscreenExclusiveCheckbox",
|
"name": "fullscreenExclusiveCheckbox",
|
||||||
"help": "vcmi.systemOptions.fullscreenExclusive",
|
"help": "vcmi.systemOptions.fullscreenExclusive",
|
||||||
"callback": "fullscreenExclusiveChanged"
|
"callback": "fullscreenExclusiveChanged",
|
||||||
"created" : "desktop"
|
"created" : "desktop"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -153,17 +159,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
|
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
|
||||||
},
|
|
||||||
{
|
|
||||||
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "availableCreaturesAsDwellingPicker",
|
|
||||||
"type": "toggleGroup",
|
|
||||||
"callback": "availableCreaturesAsDwellingChanged"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "availableCreaturesAsDwellingPicker",
|
"name": "availableCreaturesAsDwellingPicker",
|
||||||
"type": "toggleGroup",
|
"type": "toggleGroup",
|
||||||
@@ -185,11 +183,22 @@
|
|||||||
],
|
],
|
||||||
"callback": "availableCreaturesAsDwellingChanged"
|
"callback": "availableCreaturesAsDwellingChanged"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "compactTownCreatureInfoLabel",
|
||||||
|
"type" : "verticalLayout",
|
||||||
|
"customType" : "labelDescription",
|
||||||
|
"position": {"x": 45, "y": 391},
|
||||||
|
"items" : [
|
||||||
|
{
|
||||||
|
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "compactTownCreatureInfoCheckbox",
|
"name": "compactTownCreatureInfoCheckbox",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"help": "vcmi.otherOptions.compactTownCreatureInfo",
|
"help": "vcmi.otherOptions.compactTownCreatureInfo",
|
||||||
"position": {"x": 10, "y": 383},
|
"position": {"x": 10, "y": 389},
|
||||||
"callback": "compactTownCreatureInfoChanged"
|
"callback": "compactTownCreatureInfoChanged"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user