2022-06-15 20:53:34 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://dpvequp5fv27k"]
|
2022-02-12 19:45:44 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scenes/languages/languages.gd" id="1_qc7c5"]
|
2022-06-26 13:20:42 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://otvln5ol34bj" path="res://scenes/languages/languages2.tscn" id="2_plade"]
|
2022-02-12 19:45:44 +00:00
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 0
|
|
|
|
script = ExtResource("1_qc7c5")
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-06-26 13:20:42 +00:00
|
|
|
[node name="WindowOld" type="Window" parent="."]
|
2022-02-12 19:45:44 +00:00
|
|
|
title = "Language"
|
2022-06-15 20:53:34 +00:00
|
|
|
position = Vector2i(50, 100)
|
|
|
|
size = Vector2i(300, 150)
|
2022-02-12 19:45:44 +00:00
|
|
|
visible = false
|
|
|
|
|
2022-06-26 13:20:42 +00:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="WindowOld"]
|
2023-04-13 17:35:20 +00:00
|
|
|
anchors_preset = 15
|
2022-02-12 19:45:44 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-04-15 15:03:37 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
metadata/_edit_use_custom_anchors = false
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-06-26 13:20:42 +00:00
|
|
|
[node name="Label" type="Label" parent="WindowOld/VBoxContainer"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-02-12 19:45:44 +00:00
|
|
|
text = "Select language"
|
|
|
|
|
2022-06-26 13:20:42 +00:00
|
|
|
[node name="Select" type="OptionButton" parent="WindowOld/VBoxContainer"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-04-15 15:03:37 +00:00
|
|
|
size_flags_vertical = 3
|
|
|
|
metadata/_edit_use_custom_anchors = false
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-06-26 13:20:42 +00:00
|
|
|
[node name="Quit" type="Button" parent="WindowOld/VBoxContainer"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-06-15 20:53:34 +00:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
text = "Quit"
|
|
|
|
|
2023-04-13 17:35:20 +00:00
|
|
|
[node name="Window" parent="." instance=ExtResource("2_plade")]
|
|
|
|
layout_mode = 1
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-06-26 13:20:42 +00:00
|
|
|
[connection signal="close_requested" from="WindowOld" to="." method="_on_quit_pressed"]
|
2023-04-13 17:35:20 +00:00
|
|
|
[connection signal="visibility_changed" from="WindowOld" to="." method="_on_window_old_visibility_changed"]
|
2022-06-26 13:20:42 +00:00
|
|
|
[connection signal="item_selected" from="WindowOld/VBoxContainer/Select" to="." method="_on_select_item_selected"]
|
|
|
|
[connection signal="pressed" from="WindowOld/VBoxContainer/Quit" to="." method="_on_quit_pressed"]
|