101 lines
3 KiB
Text
101 lines
3 KiB
Text
[gd_scene load_steps=3 format=3 uid="uid://cl8xk8w3jmta0"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/controls/controls.gd" id="1_2c8s6"]
|
|
[ext_resource type="PackedScene" uid="uid://bhidap7eniou8" path="res://scenes/controls/select_type_control.tscn" id="2_ps0mu"]
|
|
|
|
[node name="Control" type="Control"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( "1_2c8s6" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Window" type="Window" parent="."]
|
|
title = "EDIT_CONTROL/TITLE"
|
|
position = Vector2i(25, 70)
|
|
size = Vector2i(800, 500)
|
|
visible = false
|
|
content_scale_mode = 1
|
|
content_scale_aspect = 4
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="Window"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 6
|
|
__meta__ = {
|
|
"_edit_use_custom_anchors": false
|
|
}
|
|
|
|
[node name="Menu" type="HBoxContainer" parent="Window/VBox"]
|
|
offset_right = 1024.0
|
|
offset_bottom = 31.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="ShowMethod" type="OptionButton" parent="Window/VBox/Menu"]
|
|
offset_right = 43.0
|
|
offset_bottom = 31.0
|
|
text = "CONTROL_VIEW_BY_GROUP"
|
|
item_count = 3
|
|
selected = 0
|
|
popup/item_0/text = "CONTROL_VIEW_BY_GROUP"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "CONTROL_VIEW_BY_INPUT"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "CONTROL_VIEW_BY_INPUT_SORTED"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="SortByInput" type="CheckBox" parent="Window/VBox/Menu"]
|
|
visible = false
|
|
offset_right = 510.0
|
|
offset_bottom = 31.0
|
|
size_flags_horizontal = 7
|
|
text = "EDIT_CONTROL/SORT_BY_INPUT"
|
|
|
|
[node name="Reload" type="Button" parent="Window/VBox/Menu"]
|
|
offset_left = 514.0
|
|
offset_right = 1024.0
|
|
offset_bottom = 31.0
|
|
size_flags_horizontal = 7
|
|
text = "EDIT_CONTROL/RELOAD_SYSTEM_CONFIG"
|
|
|
|
[node name="Input" type="ScrollContainer" parent="Window/VBox"]
|
|
offset_top = 35.0
|
|
offset_right = 1024.0
|
|
offset_bottom = 565.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Control" type="VBoxContainer" parent="Window/VBox/Input"]
|
|
offset_right = 1024.0
|
|
offset_bottom = 530.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Tree" type="Tree" parent="Window/VBox"]
|
|
visible = false
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Quit" type="Button" parent="Window/VBox"]
|
|
offset_left = 491.0
|
|
offset_top = 569.0
|
|
offset_right = 533.0
|
|
offset_bottom = 600.0
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 8
|
|
text = "EDIT_CONTROL/QUIT"
|
|
|
|
[node name="SelectType" parent="." instance=ExtResource( "2_ps0mu" )]
|
|
|
|
[connection signal="close_requested" from="Window" to="." method="_on_quit_pressed"]
|
|
[connection signal="item_selected" from="Window/VBox/Menu/ShowMethod" to="." method="_on_option_button_item_selected"]
|
|
[connection signal="pressed" from="Window/VBox/Menu/SortByInput" to="." method="_on_sort_by_input_pressed"]
|
|
[connection signal="pressed" from="Window/VBox/Menu/Reload" to="." method="reload_control_system"]
|
|
[connection signal="button_pressed" from="Window/VBox/Tree" to="." method="_on_tree_button_pressed"]
|
|
[connection signal="pressed" from="Window/VBox/Quit" to="." method="_on_quit_pressed"]
|