summaryrefslogtreecommitdiff
path: root/assets/sprites/gui/ui.skin
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-06-01 20:21:56 +0500
committerilotterytea <iltsu@alright.party>2024-06-01 20:21:56 +0500
commitfbb43bc134d4704706c9333ba97d585db75ceb41 (patch)
tree17576dc62c5c43f7c8b40e72840d9d439edc98d3 /assets/sprites/gui/ui.skin
parent8553e5a7e09df8a593af512b0f3455bef534a4dd (diff)
feat: ui
Diffstat (limited to 'assets/sprites/gui/ui.skin')
-rw-r--r--assets/sprites/gui/ui.skin44
1 files changed, 44 insertions, 0 deletions
diff --git a/assets/sprites/gui/ui.skin b/assets/sprites/gui/ui.skin
new file mode 100644
index 0000000..344df4a
--- /dev/null
+++ b/assets/sprites/gui/ui.skin
@@ -0,0 +1,44 @@
+{
+ Color: {
+ white: { hex: "#ffffffff" }
+ },
+ TintedDrawable: {
+ button_pressed: { color: { hex: "#ad6235ff" }, name: pressed },
+ button_idle: { color: { hex: "#cb7e39ff" }, name: idle },
+ button_hover: { color: { hex: "#e58b41ff" }, name: idle },
+ button_disabled: { color: { hex: "#1f1f1fff" }, name: pressed },
+ bg: { color: { hex: "#1f1f1fff" }, name: pressed },
+
+ white_tile: { color: white, name: tile }
+ },
+ // TODO: Test this file path on Android platform
+ com.badlogic.gdx.graphics.g2d.BitmapFont: {
+ default: {
+ file: ../../fnt/FontText.fnt,
+ scaledSize: 24
+ }
+ },
+ com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
+ default: {
+ font: default,
+ fontColor: white,
+ up: button_idle,
+ down: button_pressed,
+ over: button_hover,
+ disabled: button_disabled
+ }
+ },
+ com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: {
+ default: {
+ font: default,
+ fontColor: { hex: "#ffffffff" }
+ }
+ },
+ com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: {
+ default: {
+ font: default,
+ fontColor: white,
+ background: button_disabled
+ }
+ }
+} \ No newline at end of file