65 lines
2.3 KiB
Plaintext
65 lines
2.3 KiB
Plaintext
[gd_scene format=3 uid="uid://djlwditktkdqm"]
|
|
|
|
[ext_resource type="Script" uid="uid://c50oovdcf5gxc" path="res://settings/display/display_settings.gd" id="1_ib3mg"]
|
|
[ext_resource type="PackedScene" uid="uid://ckcinb605j6ad" path="res://settings/display/circle_size_control.tscn" id="2_a0g1l"]
|
|
[ext_resource type="PackedScene" uid="uid://bgl2fwudm05ut" path="res://settings/display/rect_size_control.tscn" id="3_pqjgl"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_ib3mg"]
|
|
|
|
[node name="DisplaySettings" type="Control" unique_id=684790483]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_ib3mg")
|
|
circle_size_control = ExtResource("2_a0g1l")
|
|
rect_size_control = ExtResource("3_pqjgl")
|
|
|
|
[node name="ScreenBounds" type="MeshInstance2D" parent="." unique_id=667660467]
|
|
mesh = SubResource("SphereMesh_ib3mg")
|
|
|
|
[node name="ModeSelect" type="HBoxContainer" parent="." unique_id=1117896761]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="Circle" type="Button" parent="ModeSelect" unique_id=2138250498]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Circle"
|
|
|
|
[node name="Control" type="Control" parent="ModeSelect" unique_id=2025198438]
|
|
custom_minimum_size = Vector2(2, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="Rectangle" type="Button" parent="ModeSelect" unique_id=355408003]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Rectangle"
|
|
|
|
[node name="SaveSelect" type="HBoxContainer" parent="." unique_id=1028302836]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="Save" type="Button" parent="SaveSelect" unique_id=491990024]
|
|
custom_minimum_size = Vector2(75, 0)
|
|
layout_mode = 2
|
|
text = "Save"
|
|
|
|
[node name="Control" type="Control" parent="SaveSelect" unique_id=786463583]
|
|
custom_minimum_size = Vector2(10, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="Cancel" type="Button" parent="SaveSelect" unique_id=1362360997]
|
|
custom_minimum_size = Vector2(75, 0)
|
|
layout_mode = 2
|
|
text = "Cancel"
|
|
|
|
[connection signal="pressed" from="ModeSelect/Circle" to="." method="_on_circle_selected"]
|
|
[connection signal="pressed" from="ModeSelect/Rectangle" to="." method="_on_rectangle_selected"]
|
|
[connection signal="pressed" from="SaveSelect/Save" to="." method="_on_save_pressed"]
|
|
[connection signal="pressed" from="SaveSelect/Cancel" to="." method="_on_cancel_pressed"]
|