improve ui, bug fix and update assets
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://c4kekqicrv4m8" path="res://core/main_scene_ui/audio_player.gd" id="1_i2mrl"]
|
||||
[ext_resource type="PackedScene" uid="uid://2tqofxxxnvhv" path="res://core/main_scene_ui/icon_button.tscn" id="1_ucnyb"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqx45c744325t" path="res://core/main_scene_ui/assets/button_audio_previous.png" id="3_netjv"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdnevc7ewu5qe" path="res://core/main_scene_ui/assets/button_audio_play.png" id="4_urwwp"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2ft1kea45hec" path="res://core/main_scene_ui/assets/button_audio_next.png" id="5_0koyu"]
|
||||
[ext_resource type="Texture2D" uid="uid://vx7wa6afj4ri" path="res://core/main_scene_ui/assets/button_audio_pause.png" id="5_urwwp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0mir57askv7j" path="res://core/main_scene_ui/assets/button_audio_on.png" id="6_xv7rp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbxhxvvg4s8ru" path="res://core/main_scene_ui/assets/button_audio_off.png" id="7_7ib2x"]
|
||||
|
||||
[node name="AudioPlayer" type="Control" unique_id=425192018]
|
||||
layout_mode = 3
|
||||
@@ -28,7 +34,7 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "Test Test"
|
||||
text = "Uknown Track"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -40,49 +46,52 @@ alignment = 1
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
image = ExtResource("3_netjv")
|
||||
images = Array[Texture]([])
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/VBoxContainer/IconButtonsRow/PrevTrackIconButton" index="0" unique_id=1071359322]
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.11538447
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.88461524
|
||||
anchors_preset = -1
|
||||
offset_left = 116.66667
|
||||
offset_top = 122.14813
|
||||
offset_top = 131.3789
|
||||
offset_right = -116.666664
|
||||
offset_bottom = -122.14813
|
||||
offset_bottom = -131.3789
|
||||
texture = ExtResource("3_netjv")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="PlayPauseIconButton" parent="HBoxContainer/VBoxContainer/IconButtonsRow" unique_id=1533336956 instance=ExtResource("1_ucnyb")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
image = ExtResource("4_urwwp")
|
||||
images = Array[Texture]([ExtResource("4_urwwp"), ExtResource("5_urwwp")])
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/VBoxContainer/IconButtonsRow/PlayPauseIconButton" index="0" unique_id=1071359322]
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.11538447
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.88461524
|
||||
anchors_preset = -1
|
||||
offset_left = 116.66667
|
||||
offset_top = 122.14813
|
||||
offset_top = 131.3789
|
||||
offset_right = -116.666664
|
||||
offset_bottom = -122.14813
|
||||
offset_bottom = -131.3789
|
||||
texture = ExtResource("4_urwwp")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="NextTrackIconButton" parent="HBoxContainer/VBoxContainer/IconButtonsRow" unique_id=2108379455 instance=ExtResource("1_ucnyb")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
image = ExtResource("5_0koyu")
|
||||
images = Array[Texture]([])
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/VBoxContainer/IconButtonsRow/NextTrackIconButton" index="0" unique_id=1071359322]
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.11538447
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.88461524
|
||||
anchors_preset = -1
|
||||
offset_left = 116.66667
|
||||
offset_top = 122.14813
|
||||
offset_top = 131.3789
|
||||
offset_right = -116.666664
|
||||
offset_bottom = -122.14813
|
||||
offset_bottom = -131.3789
|
||||
texture = ExtResource("5_0koyu")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer" unique_id=1843266535]
|
||||
layout_mode = 2
|
||||
@@ -94,17 +103,17 @@ custom_minimum_size = Vector2(40, 40)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 3
|
||||
image = ExtResource("6_xv7rp")
|
||||
images = Array[Texture]([])
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/VBoxContainer2/IncreaseVolumeIconButton" index="0" unique_id=1071359322]
|
||||
custom_minimum_size = Vector2(40, 40)
|
||||
anchor_left = 0.25
|
||||
anchor_top = 0.35915482
|
||||
anchor_right = 0.75
|
||||
anchor_bottom = 0.64084494
|
||||
offset_left = 96.66667
|
||||
offset_top = 92.64813
|
||||
offset_right = -96.666664
|
||||
offset_bottom = -92.64813
|
||||
offset_left = 106.66667
|
||||
offset_top = 107.01433
|
||||
offset_right = -106.666664
|
||||
offset_bottom = -107.014336
|
||||
texture = ExtResource("6_xv7rp")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="DecreaseVolumeIconButton" parent="HBoxContainer/VBoxContainer2" unique_id=399629327 instance=ExtResource("1_ucnyb")]
|
||||
unique_name_in_owner = true
|
||||
@@ -112,17 +121,17 @@ custom_minimum_size = Vector2(40, 40)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 3
|
||||
image = ExtResource("7_7ib2x")
|
||||
images = Array[Texture]([])
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/VBoxContainer2/DecreaseVolumeIconButton" index="0" unique_id=1071359322]
|
||||
custom_minimum_size = Vector2(40, 40)
|
||||
anchor_left = 0.25
|
||||
anchor_top = 0.35915482
|
||||
anchor_right = 0.75
|
||||
anchor_bottom = 0.64084494
|
||||
offset_left = 96.66667
|
||||
offset_top = 92.64813
|
||||
offset_right = -96.666664
|
||||
offset_bottom = -92.64813
|
||||
offset_left = 106.66667
|
||||
offset_top = 107.01433
|
||||
offset_right = -106.666664
|
||||
offset_bottom = -107.014336
|
||||
texture = ExtResource("7_7ib2x")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[editable path="HBoxContainer/VBoxContainer/IconButtonsRow/PrevTrackIconButton"]
|
||||
[editable path="HBoxContainer/VBoxContainer/IconButtonsRow/PlayPauseIconButton"]
|
||||
|
||||
Reference in New Issue
Block a user