170 lines
6.2 KiB
Text
170 lines
6.2 KiB
Text
[gd_scene load_steps=3 format=3 uid="uid://otvln5ol34bj"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/languages/languages2.gd" id="2_3c17g"]
|
|
[ext_resource type="Texture2D" uid="uid://p5xmkx2aofxx" path="res://scenes/languages/panel2.png" id="2_xmbl2"]
|
|
|
|
[node name="Window" type="Control"]
|
|
anchor_left = 0.095
|
|
anchor_top = 0.132
|
|
anchor_right = 0.883
|
|
anchor_bottom = 0.668
|
|
offset_left = -0.280006
|
|
offset_top = -0.199997
|
|
offset_right = -0.192017
|
|
offset_bottom = 0.199982
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource( "2_3c17g" )
|
|
metadata/_edit_use_custom_anchors = true
|
|
|
|
[node name="NinePatchRect" type="NinePatchRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource( "2_xmbl2" )
|
|
patch_margin_left = 22
|
|
patch_margin_top = 25
|
|
patch_margin_right = 22
|
|
patch_margin_bottom = 14
|
|
axis_stretch_horizontal = 2
|
|
axis_stretch_vertical = 2
|
|
metadata/_edit_layout_mode = 1
|
|
|
|
[node name="V" type="VBoxContainer" parent="NinePatchRect"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="H1" type="HBoxContainer" parent="NinePatchRect/V"]
|
|
offset_right = 807.0
|
|
offset_bottom = 26.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 0
|
|
|
|
[node name="ResizeTopLeft" type="Control" parent="NinePatchRect/V/H1"]
|
|
minimum_size = Vector2(14, 14)
|
|
offset_right = 14.0
|
|
offset_bottom = 26.0
|
|
size_flags_horizontal = 0
|
|
mouse_default_cursor_shape = 12
|
|
|
|
[node name="Title" type="Label" parent="NinePatchRect/V/H1"]
|
|
offset_left = 18.0
|
|
offset_right = 789.0
|
|
offset_bottom = 26.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 13
|
|
text = "Select language"
|
|
metadata/_edit_layout_mode = 1
|
|
metadata/_edit_use_custom_anchors = true
|
|
|
|
[node name="ResizeTopRight" type="Control" parent="NinePatchRect/V/H1"]
|
|
minimum_size = Vector2(14, 14)
|
|
offset_left = 793.0
|
|
offset_right = 807.0
|
|
offset_bottom = 26.0
|
|
size_flags_horizontal = 8
|
|
mouse_default_cursor_shape = 11
|
|
|
|
[node name="H2" type="HBoxContainer" parent="NinePatchRect/V"]
|
|
offset_top = 30.0
|
|
offset_right = 807.0
|
|
offset_bottom = 303.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="ResizeLeft" type="Control" parent="NinePatchRect/V/H2"]
|
|
minimum_size = Vector2(14, 0)
|
|
offset_right = 14.0
|
|
offset_bottom = 273.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 3
|
|
mouse_default_cursor_shape = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="NinePatchRect/V/H2"]
|
|
offset_left = 18.0
|
|
offset_right = 789.0
|
|
offset_bottom = 273.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
metadata/_edit_layout_mode = 1
|
|
metadata/_edit_use_custom_anchors = true
|
|
|
|
[node name="Select" type="OptionButton" parent="NinePatchRect/V/H2/VBoxContainer"]
|
|
offset_right = 771.0
|
|
offset_bottom = 238.0
|
|
size_flags_vertical = 3
|
|
metadata/_edit_use_custom_anchors = false
|
|
|
|
[node name="Quit" type="Button" parent="NinePatchRect/V/H2/VBoxContainer"]
|
|
offset_left = 364.0
|
|
offset_top = 242.0
|
|
offset_right = 406.0
|
|
offset_bottom = 273.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 8
|
|
text = "Quit"
|
|
|
|
[node name="ResizeRight" type="Control" parent="NinePatchRect/V/H2"]
|
|
minimum_size = Vector2(14, 0)
|
|
offset_left = 793.0
|
|
offset_right = 807.0
|
|
offset_bottom = 273.0
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 3
|
|
mouse_default_cursor_shape = 10
|
|
|
|
[node name="H3" type="HBoxContainer" parent="NinePatchRect/V"]
|
|
offset_top = 307.0
|
|
offset_right = 807.0
|
|
offset_bottom = 321.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 8
|
|
|
|
[node name="ResizeBottomLeft" type="Control" parent="NinePatchRect/V/H3"]
|
|
minimum_size = Vector2(14, 14)
|
|
offset_right = 14.0
|
|
offset_bottom = 14.0
|
|
mouse_default_cursor_shape = 11
|
|
|
|
[node name="ResizeBottom" type="Control" parent="NinePatchRect/V/H3"]
|
|
minimum_size = Vector2(14, 0)
|
|
offset_left = 18.0
|
|
offset_right = 789.0
|
|
offset_bottom = 14.0
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 9
|
|
|
|
[node name="ResizeBottomRight" type="Control" parent="NinePatchRect/V/H3"]
|
|
minimum_size = Vector2(14, 14)
|
|
offset_left = 793.0
|
|
offset_right = 807.0
|
|
offset_bottom = 14.0
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
mouse_default_cursor_shape = 12
|
|
metadata/_edit_layout_mode = 1
|
|
metadata/_edit_use_custom_anchors = true
|
|
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H1/ResizeTopLeft" to="." method="_on_resize_top_left_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H1/ResizeTopLeft" to="." method="_on_resize_top_left_mouse_exited"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H1/Title" to="." method="_on_title_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H1/Title" to="." method="_on_title_mouse_exited"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H1/ResizeTopRight" to="." method="_on_resize_top_right_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H1/ResizeTopRight" to="." method="_on_resize_top_right_mouse_exited"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H2/ResizeLeft" to="." method="_on_resize_left_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H2/ResizeLeft" to="." method="_on_resize_left_mouse_exited"]
|
|
[connection signal="item_selected" from="NinePatchRect/V/H2/VBoxContainer/Select" to="." method="_on_select_item_selected"]
|
|
[connection signal="pressed" from="NinePatchRect/V/H2/VBoxContainer/Quit" to="." method="_on_quit_pressed"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H2/ResizeRight" to="." method="_on_resize_right_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H2/ResizeRight" to="." method="_on_resize_right_mouse_exited"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H3/ResizeBottomLeft" to="." method="_on_resize_bottom_left_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H3/ResizeBottomLeft" to="." method="_on_resize_bottom_left_mouse_exited"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H3/ResizeBottom" to="." method="_on_resize_bottom_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H3/ResizeBottom" to="." method="_on_resize_bottom_mouse_exited"]
|
|
[connection signal="mouse_entered" from="NinePatchRect/V/H3/ResizeBottomRight" to="." method="_on_resize_bottom_right_mouse_entered"]
|
|
[connection signal="mouse_exited" from="NinePatchRect/V/H3/ResizeBottomRight" to="." method="_on_resize_bottom_right_mouse_exited"]
|