much better buttons.
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user