140 lines
5.5 KiB
Text
140 lines
5.5 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://bdwbgerrese4w" path="res://scenes/languages/panel2.png" id="2_xmbl2"]
|
|
|
|
[node name="Window" type="Control"]
|
|
layout_mode = 3
|
|
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="."]
|
|
layout_mode = 0
|
|
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"]
|
|
layout_mode = 0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="H1" type="HBoxContainer" parent="NinePatchRect/V"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 0
|
|
|
|
[node name="ResizeTopLeft" type="Control" parent="NinePatchRect/V/H1"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
mouse_default_cursor_shape = 12
|
|
|
|
[node name="Title" type="Label" parent="NinePatchRect/V/H1"]
|
|
layout_mode = 2
|
|
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"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
mouse_default_cursor_shape = 11
|
|
|
|
[node name="H2" type="HBoxContainer" parent="NinePatchRect/V"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="ResizeLeft" type="Control" parent="NinePatchRect/V/H2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 3
|
|
mouse_default_cursor_shape = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="NinePatchRect/V/H2"]
|
|
layout_mode = 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"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
metadata/_edit_use_custom_anchors = false
|
|
|
|
[node name="Quit" type="Button" parent="NinePatchRect/V/H2/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 8
|
|
text = "Quit"
|
|
|
|
[node name="ResizeRight" type="Control" parent="NinePatchRect/V/H2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 3
|
|
mouse_default_cursor_shape = 10
|
|
|
|
[node name="H3" type="HBoxContainer" parent="NinePatchRect/V"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 8
|
|
|
|
[node name="ResizeBottomLeft" type="Control" parent="NinePatchRect/V/H3"]
|
|
layout_mode = 2
|
|
mouse_default_cursor_shape = 11
|
|
|
|
[node name="ResizeBottom" type="Control" parent="NinePatchRect/V/H3"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 9
|
|
|
|
[node name="ResizeBottomRight" type="Control" parent="NinePatchRect/V/H3"]
|
|
layout_mode = 2
|
|
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"]
|