Mindustry/core/assets/ui/uiskin.json

77 lines
3.8 KiB
JSON
Raw Normal View History

2017-04-30 08:25:59 +07:00
{
com.badlogic.gdx.graphics.g2d.BitmapFont: {
default-font: {
2017-07-28 00:27:11 +07:00
file: prose.fnt,
markupEnabled: true,
scale: 0.5
2017-04-30 08:25:59 +07:00
}
},
com.badlogic.gdx.graphics.Color: {
black: {a: 1, b: 0, g: 0, r: 0 },
white: {a: 1, b: 1, g: 1, r: 1 },
green: {a: 1, b: 0, g: 1, r: 0 },
red: {a: 1, b: 0, g: 0, r: 1 },
blue: {a: 1, b: 1, g: 0, r: 0 },
grey: {a: 1, b: 0.32, g: 0.32, r: 0.32 },
orange: {hex: "#FFA500"},
vis-blue: {a: 1, b: 0.886, g: 0.631, r: 0.105 },
vis-red: {a: 1, b: 0.047, g: 0, r: 0.862 },
menuitem: {a: 1, b: 0.65, g: 0.65, r: 0.65 },
link-label: {a: 1, b: 0.886, g: 0.631, r: 0.105 }
},
io.anuke.ucore.scene.Skin$TintedDrawable: {
2017-04-30 08:25:59 +07:00
dialogDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.45} }
2017-07-28 00:27:11 +07:00
loadDim: {name: white, color: {r: 0, g: 0, b: 0, a: 0.7} }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Button$ButtonStyle: {
default: {down: button-down, up: button },
toggle: {checked: button-down, down: button-down, up: button }
},
io.anuke.ucore.scene.ui.TextButton$TextButtonStyle: {
default: {over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: grey, down: button-down, up: button, transition: 0 },
toggle: {font: default-font, fontColor: white, checked: button-down, down: button-down, up: button, over: button-over, disabled: button, disabledFontColor: grey }
},
io.anuke.ucore.scene.ui.ImageButton$ImageButtonStyle: {
default: {down: button-down, up: button, over: button-over },
2017-05-06 02:19:19 +07:00
static: {up: button },
static-down: {up: button-down },
2017-04-30 13:07:58 +07:00
toggle: {checked: button-down, down: button-down, up: button },
2017-05-03 11:09:48 +07:00
togglemap: {checked: button-map-down, down: button-map-down, up: button-map },
2017-05-01 00:01:29 +07:00
select: {checked: button-select, up: clear },
2017-04-30 08:25:59 +07:00
close-window: {up: button, imageUp: icon-close, imageOver: icon-close-over, imageDown: icon-close-down, disabled: button }
},
io.anuke.ucore.scene.ui.ImageTextButton$ImageTextButtonStyle: {
default: {down: button-down, up: button, over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: grey },
toggle: {checked: button-down, down: button-down, up: button, font: default-font, fontColor: white, over: button-over, disabled: button, disabledFontColor: grey }
},
io.anuke.ucore.scene.ui.ScrollPane$ScrollPaneStyle: {
default: {vScroll: scroll, vScrollKnob: scroll-knob-vertical, hScroll: scroll-horizontal, hScrollKnob: scroll-knob-horizontal }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Window$WindowStyle: {
default: {titleFont: default-font, background: window, titleFontColor: orange },
2017-05-01 00:01:29 +07:00
dialog: {stageBackground: dialogDim, titleFont: default-font, background: window, titleFontColor: orange }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.KeybindDialog$KeybindDialogStyle: {
2017-04-30 13:44:21 +07:00
default: {keyColor: red, keyNameColor: white},
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Slider$SliderStyle: {
default-horizontal: {background: slider, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down},
default-vertical: {background: slider-vertical, knob: slider-knob, knobOver: slider-knob-over, knobDown: slider-knob-down}
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.Label$LabelStyle: {
default: {font: default-font, fontColor: white },
link-label: {fontColor: link-label, font: default-font },
small: {font: default-font, fontColor: white },
menuitem-shortcut: {font: default-font, fontColor: menuitem }
},
io.anuke.ucore.scene.ui.TextField$TextFieldStyle: {
default: {font: default-font, fontColor: white, disabledFontColor: grey, selection: selection, background: textfield, cursor: cursor, messageFont: default-font, messageFontColor: grey }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.CheckBox$CheckBoxStyle: {
default: {checkboxOn: check-on, checkboxOff: check-off, checkboxOver: check-over, font: default-font, fontColor: white, disabledFontColor: grey }
2017-04-30 08:25:59 +07:00
},
io.anuke.ucore.scene.ui.List$ListStyle: {
default: {fontColorUnselected: white, fontColorSelected: white, font: default-font }
2017-04-30 08:25:59 +07:00
}
}