summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-10-19 16:54:37 +0500
committerilotterytea <iltsu@alright.party>2024-10-19 16:54:37 +0500
commit3ad154dee870dc38baeeec17094d9aa77c4639ac (patch)
tree4202c47c198a0b7b22b5bbe95c3a134f70e7e2e0 /assets
parent1251b9d2f18f04a55a702cb96f10a0aeccbda6f7 (diff)
fix: GDX dialogs dont work well on macos, so i replaced it with my implementation of it
Diffstat (limited to 'assets')
-rw-r--r--assets/i18n/en_us.json5
-rw-r--r--assets/i18n/ru_ru.json5
-rw-r--r--assets/sprites/gui/ui.skin18
3 files changed, 18 insertions, 10 deletions
diff --git a/assets/i18n/en_us.json b/assets/i18n/en_us.json
index 239169c..9be139d 100644
--- a/assets/i18n/en_us.json
+++ b/assets/i18n/en_us.json
@@ -1,8 +1,5 @@
{
- "updater.title": "You're playing an outdated version...",
- "updater.message": "There's a new update out! Want to see it?",
- "updater.no": "n-no",
- "updater.yes": "YES!!",
+ "updater.info": "A new update is available!",
"debug.version": "%s (LibGDX %s, Java %s)",
"debug.c_fps": "%s FPS",
diff --git a/assets/i18n/ru_ru.json b/assets/i18n/ru_ru.json
index 7451d97..ff70cd3 100644
--- a/assets/i18n/ru_ru.json
+++ b/assets/i18n/ru_ru.json
@@ -1,8 +1,5 @@
{
- "updater.title": "Ты играешь в устаревшую версию...",
- "updater.message": "Вышло новое обновление! Хочешь посмотреть?",
- "updater.no": "н-нет",
- "updater.yes": "ДААА!!",
+ "updater.info": "Доступно новое обновление!",
"debug.version": "%s (LibGDX %s, Java %s)",
"debug.c_fps": "%s FPS",
diff --git a/assets/sprites/gui/ui.skin b/assets/sprites/gui/ui.skin
index 979a0f1..2004b30 100644
--- a/assets/sprites/gui/ui.skin
+++ b/assets/sprites/gui/ui.skin
@@ -5,7 +5,10 @@
store_item_hover: { hex: "#ffffffff" },
store_item_disabled: { hex: "#888888ff" },
store_item_price_available: { hex: "#00ff00ff" },
- store_item_price_disabled: { hex: "#ff0000ff" }
+ store_item_price_disabled: { hex: "#ff0000ff" },
+
+ orange: {hex: "#ffa300ff" },
+ yellow: {hex: "#ffec27ff" },
},
com.badlogic.gdx.scenes.scene2d.ui.Skin$TintedDrawable: {
button_pressed: { color: { hex: "#ad6235ff" }, name: pressed },
@@ -32,6 +35,10 @@
file: fnt/FontText.fnt,
scaledSize: 24
},
+ small: {
+ file: fnt/FontText.fnt,
+ scaledSize: 18
+ },
store_item_name: {
file: fnt/FontText.fnt,
scaledSize: 19
@@ -65,7 +72,14 @@
store_control: {
parent: default,
font: store_control
- }
+ },
+ link: {
+ font: small,
+ fontColor: yellow,
+ overFontColor: orange,
+ focusedFontColor: orange,
+ downFontColor: orange
+ },
},
com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: {
default: {