2022-02-15 22:21:57 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://cb0gfweooxdsl"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scenes/themes/themes.gd" id="1_a1yak"]
|
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
2022-02-15 22:21:57 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-04-13 17:35:20 +00:00
|
|
|
script = ExtResource("1_a1yak")
|
2022-02-15 22:21:57 +00:00
|
|
|
|
|
|
|
[node name="Window" type="Window" parent="."]
|
2023-04-13 17:35:20 +00:00
|
|
|
size = Vector2i(300, 100)
|
2022-02-15 22:21:57 +00:00
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Window"]
|
2023-04-13 17:35:20 +00:00
|
|
|
anchors_preset = 15
|
2022-04-15 15:03:37 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
metadata/_edit_use_custom_anchors = false
|
2022-02-15 22:21:57 +00:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window/VBoxContainer"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-02-15 22:21:57 +00:00
|
|
|
text = "Select theme"
|
|
|
|
|
|
|
|
[node name="Select" type="OptionButton" parent="Window/VBoxContainer"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-04-15 15:03:37 +00:00
|
|
|
size_flags_vertical = 3
|
2022-02-15 22:21:57 +00:00
|
|
|
|
|
|
|
[node name="Quit" type="Button" parent="Window/VBoxContainer"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-04-15 15:03:37 +00:00
|
|
|
size_flags_horizontal = 4
|
2022-02-15 22:21:57 +00:00
|
|
|
text = "Quit"
|
|
|
|
|
|
|
|
[connection signal="close_requested" from="Window" to="." method="_on_quit_pressed"]
|
2023-04-13 17:35:20 +00:00
|
|
|
[connection signal="visibility_changed" from="Window" to="." method="_on_window_visibility_changed"]
|
2022-02-15 22:21:57 +00:00
|
|
|
[connection signal="item_selected" from="Window/VBoxContainer/Select" to="." method="_on_select_item_selected"]
|
|
|
|
[connection signal="pressed" from="Window/VBoxContainer/Quit" to="." method="_on_quit_pressed"]
|