refactoring UI

This commit was merged in pull request #26.
This commit is contained in:
2026-06-01 09:03:31 +00:00
parent 50ea1d8bbd
commit dcf5d28248
62 changed files with 2088 additions and 489 deletions

View File

@@ -3,34 +3,78 @@
[ext_resource type="Script" uid="uid://bpbgecvan0a5k" path="res://core/main_scene_ui/icon_button.gd" id="1_r8gxt"]
[ext_resource type="Texture2D" uid="uid://dldg826x1kkoe" path="res://core/main_scene_ui/assets/weather_test.png" id="1_upldh"]
[node name="IconButton" type="Control" unique_id=1750448019]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_r8gxt"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6q6an"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_60w2f"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4xtsh"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_305hl"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jurvi"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xxros"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3kui7"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ogiom"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4beq1"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cxhgx"]
[node name="IconButton" type="Button" unique_id=1621140689]
custom_minimum_size = Vector2(160, 160)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
anchors_preset = -1
anchor_right = 0.083333336
anchor_bottom = 0.14814815
pivot_offset_ratio = Vector2(0.5, 0.5)
theme_override_styles/normal = SubResource("StyleBoxEmpty_r8gxt")
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_6q6an")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_60w2f")
theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_4xtsh")
theme_override_styles/hover = SubResource("StyleBoxEmpty_305hl")
theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_jurvi")
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_xxros")
theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_3kui7")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_ogiom")
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_4beq1")
theme_override_styles/focus = SubResource("StyleBoxEmpty_cxhgx")
script = ExtResource("1_r8gxt")
image = ExtResource("1_upldh")
metadata/_edit_use_anchors_ = true
[node name="Texture" type="TextureRect" parent="." unique_id=1071359322]
unique_name_in_owner = true
custom_minimum_size = Vector2(160, 160)
layout_mode = 1
anchors_preset = -1
anchor_left = 0.45833334
anchor_top = 0.42592594
anchor_right = 0.5416667
anchor_bottom = 0.5740741
offset_left = 80.0
offset_top = 79.99997
offset_right = -80.0
offset_bottom = -80.0
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_upldh")
expand_mode = 1
metadata/_edit_use_anchors_ = true
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
[node name="MiniTexture" type="TextureRect" parent="." unique_id=65158044]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(32, 32)
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -32.0
offset_top = -32.0
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("1_upldh")
expand_mode = 1
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
[connection signal="pressed" from="." to="." method="_on_pressed"]