broken_seals_2d/game/addons/data_manager/panels/ResourcePanel.tscn

124 lines
4.2 KiB
Plaintext
Raw Permalink Normal View History

2020-07-08 23:25:40 +02:00
[gd_scene load_steps=8 format=2]
[ext_resource path="res://addons/data_manager/panels/CreateNamePopup.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/data_manager/panels/ResourceRow.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/data_manager/panels/HistoryEntry.tscn" type="PackedScene" id=3]
[ext_resource path="res://addons/data_manager/icons/icon_add.png" type="Texture" id=4]
[ext_resource path="res://addons/data_manager/panels/ResourcePanel.gd" type="Script" id=5]
[ext_resource path="res://addons/data_manager/icons/icon_empty.png" type="Texture" id=6]
[ext_resource path="res://addons/data_manager/icons/icon_reload_small.png" type="Texture" id=7]
2020-07-08 23:25:40 +02:00
[node name="Panel" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 5 )
resource_row_scene = ExtResource( 2 )
history_row_scene = ExtResource( 3 )
entry_container_path = NodePath("ResourcePanel/VBoxContainer2/ScrollContainer2/VBoxContainer")
name_popup_path = NodePath("CreateNamePopup")
create_popup_path = NodePath("CreateNamePopup")
delete_popup_path = NodePath("DeletePopup")
history_container_path = NodePath("ResourcePanel/VBoxContainer/ScrollContainer/VBoxContainer")
[node name="ResourcePanel" type="HSplitContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
split_offset = 500
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer2" type="VBoxContainer" parent="ResourcePanel"]
margin_right = 600.0
2020-07-08 23:25:40 +02:00
margin_bottom = 600.0
[node name="LineEdit" type="LineEdit" parent="ResourcePanel/VBoxContainer2"]
margin_right = 600.0
margin_bottom = 26.0
2020-07-08 23:25:40 +02:00
right_icon = ExtResource( 6 )
placeholder_text = "Filter"
caret_blink = true
[node name="CreateButton" type="Button" parent="ResourcePanel/VBoxContainer2"]
margin_top = 30.0
margin_right = 600.0
margin_bottom = 50.0
2020-07-08 23:25:40 +02:00
rect_min_size = Vector2( 100, 0 )
text = "Create"
icon = ExtResource( 4 )
expand_icon = true
[node name="HSeparator" type="HSeparator" parent="ResourcePanel/VBoxContainer2"]
margin_top = 54.0
margin_right = 600.0
margin_bottom = 58.0
2020-07-08 23:25:40 +02:00
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScrollContainer2" type="ScrollContainer" parent="ResourcePanel/VBoxContainer2"]
margin_top = 62.0
margin_right = 600.0
2020-07-08 23:25:40 +02:00
margin_bottom = 600.0
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel/VBoxContainer2/ScrollContainer2"]
margin_right = 600.0
2020-07-08 23:25:40 +02:00
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel"]
margin_left = 612.0
2020-07-08 23:25:40 +02:00
margin_right = 1024.0
margin_bottom = 600.0
2022-08-03 18:07:41 +02:00
[node name="Settings" type="Button" parent="ResourcePanel/VBoxContainer"]
margin_right = 412.0
margin_bottom = 20.0
2020-07-08 23:25:40 +02:00
size_flags_horizontal = 3
2022-08-03 18:07:41 +02:00
text = "Settings"
[node name="Button" type="Button" parent="ResourcePanel/VBoxContainer"]
margin_top = 24.0
margin_right = 412.0
margin_bottom = 44.0
size_flags_horizontal = 3
2020-07-08 23:25:40 +02:00
text = "Clear History"
icon = ExtResource( 7 )
[node name="HSeparator" type="HSeparator" parent="ResourcePanel/VBoxContainer"]
2022-08-03 18:07:41 +02:00
margin_top = 48.0
margin_right = 412.0
2022-08-03 18:07:41 +02:00
margin_bottom = 52.0
2020-07-08 23:25:40 +02:00
size_flags_horizontal = 3
[node name="ScrollContainer" type="ScrollContainer" parent="ResourcePanel/VBoxContainer"]
2022-08-03 18:07:41 +02:00
margin_top = 56.0
margin_right = 412.0
2020-07-08 23:25:40 +02:00
margin_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel/VBoxContainer/ScrollContainer"]
margin_right = 412.0
2020-07-08 23:25:40 +02:00
size_flags_horizontal = 3
[node name="CreateNamePopup" parent="." instance=ExtResource( 1 )]
[node name="DeletePopup" type="ConfirmationDialog" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -139.0
margin_top = -55.0
margin_right = 139.0
margin_bottom = 55.0
dialog_text = "Delete?"
2020-07-08 23:25:40 +02:00
[connection signal="text_entered" from="ResourcePanel/VBoxContainer2/LineEdit" to="." method="search"]
[connection signal="pressed" from="ResourcePanel/VBoxContainer2/CreateButton" to="CreateNamePopup" method="popup"]
2022-08-03 18:07:41 +02:00
[connection signal="pressed" from="ResourcePanel/VBoxContainer/Settings" to="." method="edit_settings"]
2020-07-08 23:25:40 +02:00
[connection signal="pressed" from="ResourcePanel/VBoxContainer/Button" to="." method="clear_history"]
[connection signal="confirmed" from="DeletePopup" to="." method="delete_confirm"]