slightly less shitty ui.

This commit is contained in:
Bryce Covert
2015-11-10 23:39:34 -08:00
parent b83a89809f
commit 9f326fb812
9 changed files with 61 additions and 42 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,12 +1,28 @@
ui.png
size: 128,32
size: 256,64
format: RGBA8888
filter: Nearest,Nearest
repeat: none
button
rotate: false
xy: 2, 2
size: 52, 40
split: 24, 24, 12, 24
orig: 52, 40
offset: 0, 0
index: -1
button.pressed
rotate: false
xy: 56, 2
size: 52, 40
split: 24, 24, 16, 20
orig: 52, 40
offset: 0, 0
index: -1
screenshot-image-button
rotate: false
xy: 54, 10
xy: 162, 22
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -14,7 +30,7 @@ screenshot-image-button
index: -1
screenshot-image-button-active
rotate: false
xy: 32, 10
xy: 140, 22
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -22,7 +38,7 @@ screenshot-image-button-active
index: -1
scroll-slider
rotate: false
xy: 76, 10
xy: 184, 22
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -30,7 +46,7 @@ scroll-slider
index: -1
slider
rotate: false
xy: 98, 10
xy: 206, 22
size: 20, 20
split: 8, 8, 8, 8
orig: 20, 20
@@ -38,14 +54,14 @@ slider
index: -1
slider-bar
rotate: false
xy: 2, 2
xy: 110, 14
size: 28, 28
orig: 28, 28
offset: 0, 0
index: -1
slider-bar-hover
rotate: false
xy: 2, 2
xy: 110, 14
size: 28, 28
orig: 28, 28
offset: 0, 0

View File

@@ -1,5 +1,11 @@
{
com.badlogic.gdx.graphics.g2d.BitmapFont: { default-font: { file: ego/font.fnt } }
com.badlogic.gdx.graphics.Color: {
white: { a: 1, b: 1, g: 1, r: 1 },
gray: { a: 1, b: 0.5, g: 0.5, r: 0.5},
pressed: { a: 1.0, b: 0.9, g: 0.9, r: 0.9 },
yellow: {hex: DFD114FF},
},
com.badlogic.gdx.scenes.scene2d.ui.Slider$SliderStyle: {
default-horizontal: { background: slider, knob: slider-bar }
default-horizontal-hover: { background: slider, knob: slider-bar-hover }
@@ -12,6 +18,13 @@ com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: {
com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: {
default: { down: screenshot-image-button-active, up: screenshot-image-button, checked: screenshot-image-button-active}
active: { down: screenshot-image-button-active, up: screenshot-image-button-active, checked: screenshot-image-button-active}
},
com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
default: { font: default-font, down: button.pressed, up: button, fontColor: white, overFontColor: yellow, unpressedOffsetY: 0, pressedOffsetY: -4, downFontColor: pressed, disabledFontColor: gray}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 985 B