not sure why I didn't think of this sooner.

This commit is contained in:
Bryce Covert
2016-02-24 13:34:53 -08:00
parent 9b9b45a70c
commit 8a0e53a825
6 changed files with 61 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ filter: Nearest,Nearest
repeat: none
button
rotate: false
xy: 2, 6
xy: 2, 10
size: 52, 52
split: 24, 24, 12, 22
orig: 52, 52
@@ -14,7 +14,7 @@ button
index: -1
button.disabled
rotate: false
xy: 56, 6
xy: 56, 10
size: 52, 52
split: 24, 24, 12, 22
orig: 52, 52
@@ -22,7 +22,7 @@ button.disabled
index: -1
button.hover
rotate: false
xy: 110, 6
xy: 110, 10
size: 52, 52
split: 24, 24, 12, 22
orig: 52, 52
@@ -30,15 +30,29 @@ button.hover
index: -1
button.pressed
rotate: false
xy: 164, 6
xy: 164, 10
size: 52, 52
split: 24, 24, 16, 16
orig: 52, 52
offset: 0, 0
index: -1
checkbox
rotate: false
xy: 264, 2
size: 42, 60
orig: 42, 60
offset: 0, 0
index: -1
checkbox.on
rotate: false
xy: 308, 2
size: 42, 60
orig: 42, 60
offset: 0, 0
index: -1
screenshot-image-button
rotate: false
xy: 368, 38
xy: 456, 42
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -46,7 +60,7 @@ screenshot-image-button
index: -1
screenshot-image-button-active
rotate: false
xy: 346, 38
xy: 434, 42
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -54,7 +68,7 @@ screenshot-image-button-active
index: -1
scroll-slider
rotate: false
xy: 264, 10
xy: 352, 14
size: 20, 48
split: 8, 8, 12, 12
orig: 20, 48
@@ -62,7 +76,7 @@ scroll-slider
index: -1
slider
rotate: false
xy: 390, 38
xy: 478, 42
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -70,21 +84,21 @@ slider
index: -1
slider-bar
rotate: false
xy: 286, 30
xy: 374, 34
size: 28, 28
orig: 28, 28
offset: 0, 0
index: -1
slider-bar-hover
rotate: false
xy: 316, 30
xy: 404, 34
size: 28, 28
orig: 28, 28
offset: 0, 0
index: -1
ui-bg
rotate: false
xy: 218, 2
xy: 218, 6
size: 44, 56
split: 20, 21, 16, 16
orig: 44, 56

View File

@@ -1,11 +1,17 @@
{
com.badlogic.gdx.graphics.g2d.BitmapFont: { default-font: { file: ego/font.fnt }, button-font: { file: ego/button-font.fnt }}
com.badlogic.gdx.graphics.g2d.BitmapFont: { default-font: { file: ego/font.fnt, scale: 0.5 }, button-font: { file: ego/button-font.fnt }}
com.badlogic.gdx.graphics.Color: {
button-font-up: {hex: 19003Dff },
gray: {hex: 21172Eff },
pressed: { hex: 19003Dff },
yellow: {hex: 69386Dff },
label-yellow: {hex: ce7f00ff },
label-yellow-hover: {hex: de9827ff } ,
label-yellow-down: {hex: a26d17ff }
},
com.badlogic.gdx.scenes.scene2d.ui.CheckBox$CheckBoxStyle: {
default: { font: default-font, downFontColor: label-yellow-down, overFontColor: label-yellow-hover, fontColor: label-yellow, checkboxOn: checkbox.on, checkboxOff: checkbox, unpressedOffsetY: 12, pressedOffsetY: 12 }
},
com.badlogic.gdx.scenes.scene2d.ui.Slider$SliderStyle: {
default-horizontal: { background: slider, knob: slider-bar }
default-horizontal-hover: { background: slider, knob: slider-bar-hover }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB