{ "library" : "config/widgets/settings/library.json", "items": [ { "name": "background", "type": "picture", "image": "AdventureOptionsBackgroundClear", "position": {"x": 0, "y": 6} }, { "name": "textureCampaignOverdraw", "type": "texture", "color" : "blue", "image": "DIBOXBCK", "rect": {"x": 391, "y": 14, "w": 82, "h": 569} }, { "name": "labelTitle", "type": "label", "font": "big", "alignment": "center", "color": "yellow", "text": "vcmi.optionsTab.extraOptions.hover", "position": {"x": 222, "y": 36} }, { "name": "labelSubTitle", "type": "multiLineLabel", "font": "small", "alignment": "center", "color": "white", "text": "vcmi.optionsTab.extraOptions.help", "rect": {"x": 60, "y": 48, "w": 320, "h": 0}, "adoptHeight": true }, { "name": "ExtraOptionsButtons", "type" : "verticalLayout", "customType" : "toggleButton", "position": {"x": 70, "y": 100}, "items": [ { "name": "buttonCheatAllowed", "image": "lobby/checkbox", "callback" : "setCheatAllowed", "help" : "vcmi.optionsTab.cheatAllowed", "selected" : true }, { "name": "buttonUnlimitedReplay", "image": "lobby/checkbox", "callback" : "setUnlimitedReplay", "help" : "vcmi.optionsTab.unlimitedReplay", "selected" : true } ] }, { "name": "ExtraOptionsLabels", "type" : "verticalLayout", "customType" : "label", "position": {"x": 110, "y": 103}, "items": [ { "name": "labelCheatAllowed", "font": "small", "alignment": "left", "color": "yellow", "text": "vcmi.optionsTab.cheatAllowed.hover" }, { "name": "labelUnlimitedReplay", "font": "small", "alignment": "left", "color": "yellow", "text": "vcmi.optionsTab.unlimitedReplay.hover" } ] } ] }