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-15 20:53:34 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://0cn1ngjhkhrj" path="res://scenes/languages/panel.jpg" id="2_nhy1g"]
|
2022-02-12 19:45:44 +00:00
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
|
|
|
script = ExtResource( "1_qc7c5" )
|
|
|
|
|
|
|
|
[node name="Window" type="Window" parent="."]
|
|
|
|
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
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Window"]
|
|
|
|
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
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window/VBoxContainer"]
|
2022-06-15 20:53:34 +00:00
|
|
|
offset_right = 1024.0
|
|
|
|
offset_bottom = 26.0
|
2022-02-12 19:45:44 +00:00
|
|
|
text = "Select language"
|
|
|
|
|
|
|
|
[node name="Select" type="OptionButton" parent="Window/VBoxContainer"]
|
2022-06-15 20:53:34 +00:00
|
|
|
offset_top = 30.0
|
|
|
|
offset_right = 1024.0
|
|
|
|
offset_bottom = 565.0
|
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
|
|
|
|
|
|
|
[node name="Quit" type="Button" parent="Window/VBoxContainer"]
|
2022-06-15 20:53:34 +00:00
|
|
|
offset_left = 491.0
|
|
|
|
offset_top = 569.0
|
|
|
|
offset_right = 533.0
|
|
|
|
offset_bottom = 600.0
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
text = "Quit"
|
|
|
|
|
|
|
|
[node name="Window3" type="NinePatchRect" parent="."]
|
|
|
|
visible = false
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = 72.0
|
|
|
|
offset_top = 38.0
|
|
|
|
offset_right = 681.0
|
|
|
|
offset_bottom = 411.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
texture = ExtResource( "2_nhy1g" )
|
|
|
|
patch_margin_left = 8
|
|
|
|
patch_margin_top = 8
|
|
|
|
patch_margin_right = 8
|
|
|
|
patch_margin_bottom = 8
|
|
|
|
metadata/_edit_layout_mode = 1
|
|
|
|
metadata/_edit_use_custom_anchors = true
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Window3"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
metadata/_edit_layout_mode = 1
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window3/VBoxContainer"]
|
|
|
|
offset_right = 609.0
|
|
|
|
offset_bottom = 26.0
|
|
|
|
text = "Select language"
|
|
|
|
|
|
|
|
[node name="Select" type="OptionButton" parent="Window3/VBoxContainer"]
|
|
|
|
offset_top = 30.0
|
|
|
|
offset_right = 609.0
|
|
|
|
offset_bottom = 338.0
|
|
|
|
size_flags_vertical = 3
|
|
|
|
metadata/_edit_use_custom_anchors = false
|
|
|
|
|
|
|
|
[node name="Quit" type="Button" parent="Window3/VBoxContainer"]
|
|
|
|
offset_left = 283.0
|
|
|
|
offset_top = 342.0
|
|
|
|
offset_right = 325.0
|
|
|
|
offset_bottom = 373.0
|
2022-04-15 15:03:37 +00:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
2022-02-12 19:45:44 +00:00
|
|
|
text = "Quit"
|
|
|
|
|
2022-02-12 22:15:01 +00:00
|
|
|
[connection signal="close_requested" from="Window" to="." method="_on_quit_pressed"]
|
2022-02-12 19:45:44 +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"]
|
2022-06-15 20:53:34 +00:00
|
|
|
[connection signal="item_selected" from="Window3/VBoxContainer/Select" to="." method="_on_select_item_selected"]
|
|
|
|
[connection signal="pressed" from="Window3/VBoxContainer/Quit" to="." method="_on_quit_pressed"]
|