| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468 |
- {
- "library" : [
- "config/widgets/settings/library.json",
- "config/widgets/commonPrimitives.json",
- ],
- "items":
- [
- {
- "name": "lineLabelsEnd",
- "type": "horizontalLine",
- "rect": { "x" : 5, "y" : 229, "w": 365, "h": 3}
- },
- /////////////////////////////////////// Left section - Hero Speed and Map Scrolling
- {
- "name": "frameHeroMovement",
- "type": "picture",
- "image": "settingsWindow/frameMovement",
- "position": {"x": 6, "y": 50 }
- },
- {
- "name": "frameEnemyMovement",
- "type": "picture",
- "image": "settingsWindow/frameMovement",
- "position": {"x": 6, "y": 110 }
- },
- {
- "name": "frameMapMovement",
- "type": "picture",
- "image": "settingsWindow/frameMovement",
- "position": {"x": 6, "y": 170 }
- },
- {
- "type" : "verticalLayout60",
- "customType" : "labelCentered",
- "position": {"x": 150, "y": 62},
- "items":
- [
- {
- "text": "core.genrltxt.569" // Hero Speed
- },
- {
- "text": "core.genrltxt.570" // Enemy Speed
- },
- {
- "text": "core.genrltxt.571" // Scrolling Speed
- }
- ]
- },
- {
- "type" : "verticalLayout60",
- "customType" : "labelCentered",
- "position": {"x": 324, "y": 90},
- "items":
- [
- {
- "name": "heroSpeedValueLabel"
- },
- {
- "name": "enemySpeedValueLabel"
- },
- {
- "name": "mapScrollingValueLabel"
- }
- ]
- },
- {
- "name": "heroMovementSpeedPicker",
- "type": "toggleGroup",
- "position": {"x": 10, "y": 73},
- "items":
- [
- {
- "index": 200,
- "type": "toggleButton",
- "image": "sysopb1",
- "help": "core.help.349",
- "position": {"x": 0, "y": 0}
- },
- {
- "index": 150,
- "type": "toggleButton",
- "image": "sysopb2",
- "help": "core.help.350",
- "position": {"x": 48, "y": 0}
- },
- {
- "index": 100,
- "type": "toggleButton",
- "image": "sysopb5",
- "help": "core.help.350",
- "position": {"x": 96, "y": 0}
- },
- {
- "index": 50,
- "type": "toggleButton",
- "image": "sysopb6",
- "help": "core.help.351",
- "position": {"x": 144, "y": 0}
- },
- {
- "index": 25,
- "type": "toggleButton",
- "image": "sysopb3",
- "help": "core.help.351",
- "position": {"x": 192, "y": 0}
- },
- {
- "index": 0,
- "type": "toggleButton",
- "image": "sysopb4",
- "help": "core.help.352",
- "position": {"x": 240, "y": 0}
- }
- ],
- "callback": "playerHeroSpeedChanged"
- },
- {
- "name": "enemyMovementSpeedPicker",
- "type": "toggleGroup",
- "position": {"x": 10, "y": 133},
- "items":
- [
- {
- "index": 150,
- "type": "toggleButton",
- "image": "sysopb1",
- "help": "core.help.353",
- "position": {"x": 0, "y": 0}
- },
- {
- "index": 100,
- "type": "toggleButton",
- "image": "sysopb5",
- "help": "core.help.353",
- "position": {"x": 48, "y": 0}
- },
- {
- "index": 50,
- "type": "toggleButton",
- "image": "sysopb6",
- "help": "core.help.354",
- "position": {"x": 96, "y": 0}
- },
- {
- "index": 25,
- "type": "toggleButton",
- "image": "sysopb3",
- "help": "core.help.354",
- "position": {"x": 144, "y": 0}
- },
- {
- "index": 0,
- "type": "toggleButton",
- "image": "sysopb7",
- "help": "core.help.355",
- "position": {"x": 192, "y": 0}
- },
- {
- "index": -1,
- "type": "toggleButton",
- "image": "sysopb8",
- "help": "core.help.356",
- "position": {"x": 240, "y": 0}
- }
- ],
- "callback": "enemyHeroSpeedChanged"
- },
- {
- "name": "mapScrollSpeedPicker",
- "type": "toggleGroup",
- "position": {"x": 10, "y": 193},
- "items":
- [
- {
- "index": 200,
- "type": "toggleButton",
- "image": "settingsWindow/button46",
- "help": "vcmi.adventureOptions.mapScrollSpeed1",
- "position": {"x": 0, "y": 0},
- "items":
- [
- {
- "name": "mapScrollSpeed1",
- "type": "picture",
- "image": "settingsWindow/scrollSpeed1",
- "position": {"x": 0, "y": 0 }
- }
- ]
- },
- {
- "index": 400,
- "type": "toggleButton",
- "image": "settingsWindow/button46",
- "help": "core.help.357",
- "position": {"x": 48, "y": 0},
- "items":
- [
- {
- "name": "mapScrollSpeed2",
- "type": "picture",
- "image": "settingsWindow/scrollSpeed2",
- "position": {"x": 0, "y": 0 }
- }
- ]
- },
- {
- "index": 800,
- "type": "toggleButton",
- "image": "settingsWindow/button46",
- "help": "core.help.358",
- "position": {"x": 96, "y": 0},
- "items":
- [
- {
- "name": "mapScrollSpeed3",
- "type": "picture",
- "image": "settingsWindow/scrollSpeed3",
- "position": {"x": 0, "y": 0 }
- }
- ]
- },
- {
- "index": 1200,
- "type": "toggleButton",
- "image": "settingsWindow/button46",
- "help": "core.help.359",
- "position": {"x": 144, "y": 0},
- "items":
- [
- {
- "name": "mapScrollSpeed4",
- "type": "picture",
- "image": "settingsWindow/scrollSpeed4",
- "position": {"x": 0, "y": 0 }
- }
- ]
- },
- {
- "index": 2400, // TODO
- "type": "toggleButton",
- "image": "settingsWindow/button46",
- "help": "vcmi.adventureOptions.mapScrollSpeed5",
- "position": {"x": 192, "y": 0},
- "items":
- [
- {
- "name": "mapScrollSpeed5",
- "type": "picture",
- "image": "settingsWindow/scrollSpeed5",
- "position": {"x": 0, "y": 0 }
- }
- ]
- },
- {
- "index": 4800, // TODO
- "type": "toggleButton",
- "image": "settingsWindow/button46",
- "help": "vcmi.adventureOptions.mapScrollSpeed6",
- "position": {"x": 240, "y": 0},
- "items":
- [
- {
- "name": "mapScrollSpeed6",
- "type": "picture",
- "image": "settingsWindow/scrollSpeed6",
- "position": {"x": 0, "y": 0 }
- }
- ]
- }
- ],
- "callback": "mapScrollSpeedChanged"
- },
-
- /////////////////////////////////////// Right section - Original H3 options + some custom
- {
- "type" : "verticalLayout",
- "customType" : "labelDescription",
- "position": {"x": 415, "y": 55},
- "items":
- [
- {
- "text": "core.genrltxt.572" // show move path
- },
- {
- "text": "core.genrltxt.573" // show hero reminder
- },
- {
- "text": "core.genrltxt.574" // quick combat
- },
- {
- "text": "vcmi.adventureOptions.showGrid.hover"
- },
- {
- "text": "vcmi.adventureOptions.hideBackground.hover"
- },
- {
- "text": "vcmi.adventureOptions.minimapShowHeroes.hover"
- },
- {
- "text": "vcmi.keyBindings.button.hover"
- }
- ]
- },
- {
- "type" : "verticalLayout",
- "customType" : "checkbox",
- "position": {"x": 380, "y": 53},
- "items":
- [
- {
- "name": "showMovePathCheckbox",
- "help": "core.help.360",
- "callback": "showMovePathChanged"
- },
- {
- "name": "heroReminderCheckbox",
- "help": "core.help.361",
- "callback": "heroReminderChanged"
- },
- {
- "name": "quickCombatCheckbox",
- "help": "core.help.362",
- "callback": "quickCombatChanged"
- },
- {
- "name": "showGridCheckbox",
- "help": "vcmi.adventureOptions.showGrid",
- "callback": "showGridChanged"
- },
- {
- "name": "hideBackgroundCheckbox",
- "help": "vcmi.adventureOptions.hideBackground",
- "callback": "hideBackgroundChanged"
- },
- {
- "name": "minimapShowHeroesCheckbox",
- "help": "vcmi.adventureOptions.minimapShowHeroes",
- "callback": "minimapShowHeroesChanged"
- },
- {
- "name": "shortcutButton",
- "type": "buttonGear",
- "help": "vcmi.keyBindings.button",
- "callback": "openShortcutMenu"
- }
- ]
- },
- /////////////////////////////////////// Bottom section - VCMI Options
- {
- "type": "verticalLayout",
- "customType": "labelDescription",
- "position": {"x": 45, "y": 235},
- "items":
- [
- {
- "text": "vcmi.adventureOptions.numericQuantities.hover"
- },
- {
- "text": "vcmi.adventureOptions.forceMovementInfo.hover"
- },
- {
- "text": "vcmi.adventureOptions.skipAdventureMapAnimations.hover"
- },
- {
- "text": "vcmi.adventureOptions.infoBarPick.hover"
- },
- {
- "text": "vcmi.adventureOptions.borderScroll.hover"
- },
- {
- "text": "vcmi.adventureOptions.infoBarCreatureManagement.hover"
- },
- {
- "text": "vcmi.adventureOptions.leftButtonDrag.hover",
- "created" : "keyboardMouse"
- },
- {
- "text": "vcmi.adventureOptions.smoothDragging.hover"
- }
- ]
- },
- {
- "type": "verticalLayout",
- "customType": "labelDescription",
- "position": {"x": 225, "y": 415},
- "items":
- [
- {
- "text": "vcmi.adventureOptions.rightButtonDrag.hover",
- "created" : "keyboardMouse"
- }
- ]
- },
- {
- "type": "verticalLayout",
- "customType": "checkbox",
- "position": {"x": 10, "y": 233},
- "items":
- [
- {
- "name": "numericQuantitiesCheckbox",
- "help": "vcmi.adventureOptions.numericQuantities",
- "callback": "numericQuantitiesChanged"
- },
- {
- "name": "forceMovementInfoCheckbox",
- "help": "vcmi.adventureOptions.forceMovementInfo",
- "callback": "forceMovementInfoChanged"
- },
- {
- "name": "skipAdventureMapAnimationsCheckbox",
- "help": "vcmi.adventureOptions.skipAdventureMapAnimations",
- "callback": "skipAdventureMapAnimationsChanged"
- },
- {
- "name": "infoBarPickCheckbox",
- "help": "vcmi.adventureOptions.infoBarPick",
- "callback": "infoBarPickChanged"
- },
- {
- "name": "borderScrollCheckbox",
- "help": "vcmi.adventureOptions.borderScroll",
- "callback": "borderScrollChanged"
- },
- {
- "name": "infoBarCreatureManagementCheckbox",
- "help": "vcmi.adventureOptions.infoBarCreatureManagement",
- "callback": "infoBarCreatureManagementChanged"
- },
- {
- "name": "leftButtonDragCheckbox",
- "help": "vcmi.adventureOptions.leftButtonDrag",
- "callback": "leftButtonDragChanged",
- "created" : "keyboardMouse"
- },
- {
- "name": "smoothDraggingCheckbox",
- "help": "vcmi.adventureOptions.smoothDragging",
- "callback": "smoothDraggingChanged"
- }
- ]
- },
- {
- "type": "verticalLayout",
- "customType": "checkbox",
- "position": {"x": 190, "y": 413},
- "items":
- [
- {
- "name": "rightButtonDragCheckbox",
- "help": "vcmi.adventureOptions.rightButtonDrag",
- "callback": "rightButtonDragChanged",
- "created" : "keyboardMouse"
- }
- ]
- }
- ]
- }
|