summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-10-06 01:06:13 +0600
committerilotterytea <iltsu@alright.party>2022-10-06 01:06:13 +0600
commitdcbc79f0ecd55da0236de2eb8f3642d285d16d98 (patch)
treeba006b5ee92b19bfd46e4dcf5f673f650140c62b /assets
parentc812f699f9c14f7b0220ab4e071f24bc5b3356e7 (diff)
new look
Diffstat (limited to 'assets')
-rw-r--r--assets/sprites/gui/widgets.atlas57
-rw-r--r--assets/sprites/gui/widgets.pngbin1226 -> 338 bytes
-rw-r--r--assets/sprites/gui/widgets.skin47
3 files changed, 75 insertions, 29 deletions
diff --git a/assets/sprites/gui/widgets.atlas b/assets/sprites/gui/widgets.atlas
index 9c4e741..94c7bbd 100644
--- a/assets/sprites/gui/widgets.atlas
+++ b/assets/sprites/gui/widgets.atlas
@@ -1,42 +1,49 @@
widgets.png
-size: 256, 256
+size: 128, 16
format: RGBA8888
filter: Nearest, Nearest
repeat: none
-button
+down
rotate: false
- xy: 0, 128
- size: 128, 128
- split: 8, 8, 8, 8
- pad: 8, 8, 8, 8
- orig: 128, 128
+ xy: 0, 0
+ size: 16, 16
+ split: 4, 4, 4, 4
+ pad: 4, 4, 4, 4
+ orig: 16, 16
offset: 0, 0
index: -1
-button_disabled
+frame
rotate: false
- xy: 128, 128
- size: 128, 128
- split: 8, 8, 8, 8
- pad: 8, 8, 8, 8
- orig: 128, 128
+ xy: 16, 0
+ size: 16, 16
+ split: 3, 3, 3, 3
+ pad: 3, 3, 3, 3
+ orig: 16, 16
offset: 0, 0
index: -1
-button_down
+over
rotate: false
- xy: 0, 0
- size: 128, 128
- split: 8, 8, 8, 8
- pad: 8, 8, 8, 8
- orig: 128, 128
+ xy: 32, 0
+ size: 16, 16
+ split: 4, 4, 4, 4
+ pad: 4, 4, 4, 4
+ orig: 16, 16
+ offset: 0, 0
+ index: -1
+tile
+ rotate: false
+ xy: 64, 0
+ size: 16, 16
+ orig: 16, 16
offset: 0, 0
index: -1
-button_over
+up
rotate: false
- xy: 128, 0
- size: 128, 128
- split: 8, 8, 8, 8
- pad: 8, 8, 8, 8
- orig: 128, 128
+ xy: 48, 0
+ size: 16, 16
+ split: 4, 4, 4, 4
+ pad: 4, 4, 4, 4
+ orig: 16, 16
offset: 0, 0
index: -1
diff --git a/assets/sprites/gui/widgets.png b/assets/sprites/gui/widgets.png
index 3066e49..8da55d9 100644
--- a/assets/sprites/gui/widgets.png
+++ b/assets/sprites/gui/widgets.png
Binary files differ
diff --git a/assets/sprites/gui/widgets.skin b/assets/sprites/gui/widgets.skin
index 8ee66d9..7e408a6 100644
--- a/assets/sprites/gui/widgets.skin
+++ b/assets/sprites/gui/widgets.skin
@@ -3,15 +3,54 @@
default: {
file: fnt/MaxonTrebuchet.fnt,
scaledSize: 24
+ },
+ text: {
+ file: fnt/MaxonTrebuchet.fnt,
+ scaledSize: 18
}
}
+ TintedDrawable: {
+ plain_up: {
+ color: { hex: "#30303055" }
+ name: tile
+ },
+ plain_over: {
+ color: { hex: "#99999999" }
+ name: tile
+ },
+ plain_down: {
+ color: { hex: "#30303022" }
+ name: tile
+ },
+ }
com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
default: {
font: default,
- up: button,
- down: button_down,
- over: button_over,
- disabled: button_disabled
+ up: up,
+ down: down,
+ over: over,
+ disabled: down
+ }
+ },
+ com.badlogic.gdx.scenes.scene2d.ui.Button$ButtonStyle: {
+ default: {
+ up: up,
+ down: down,
+ over: over,
+ disabled: down
+ },
+ slot: {
+ up: plain_up,
+ down: plain_down,
+ over: plain_over,
+ disabled: plain_down
+ }
+ },
+ com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: {
+ default: {
+ label: { font: default },
+ background: up,
+ wrapWidth: 400
}
}
} \ No newline at end of file