much better buttons.

This commit is contained in:
Bryce Covert
2015-11-11 13:18:42 -08:00
parent 605f2ea2d4
commit 8ba6984860
6 changed files with 36 additions and 20 deletions

View File

@@ -1,10 +1,10 @@
{
com.badlogic.gdx.graphics.g2d.BitmapFont: { default-font: { file: ego/font.fnt }, button-font: { file: ego/button-font.fnt }}
com.badlogic.gdx.graphics.Color: {
button-font-up: {hex: A97F55FF },
gray: { a: 1, b: 0.5, g: 0.5, r: 0.5},
pressed: { hex: A97F55FF },
yellow: {hex: A97F55FF},
button-font-up: {hex: 19003Dff },
gray: {hex: 21172Eff },
pressed: { hex: 19003Dff },
yellow: {hex: 69386Dff },
},
com.badlogic.gdx.scenes.scene2d.ui.Slider$SliderStyle: {
default-horizontal: { background: slider, knob: slider-bar }
@@ -22,7 +22,7 @@ com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: {
com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
default: { font: button-font, down: button.pressed, up: button, fontColor: button-font-up, overFontColor: yellow, unpressedOffsetY: 0, pressedOffsetY: -4, downFontColor: pressed, disabledFontColor: gray}
default: { font: button-font, disabled: button.disabled, down: button.pressed, over: button.hover, up: button, fontColor: button-font-up, overFontColor: yellow, unpressedOffsetY: 0, pressedOffsetY: -4, downFontColor: pressed, disabledFontColor: gray}
}