mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-25 01:17:10 +01:00
119 lines
4.0 KiB
Plaintext
119 lines
4.0 KiB
Plaintext
[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]
|
|
|
|
[node name="Panel" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 5 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
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
|
|
margin_bottom = 600.0
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="ResourcePanel/VBoxContainer2"]
|
|
margin_right = 600.0
|
|
margin_bottom = 26.0
|
|
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
|
|
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
|
|
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
|
|
margin_bottom = 600.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel/VBoxContainer2/ScrollContainer2"]
|
|
margin_right = 600.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel"]
|
|
margin_left = 612.0
|
|
margin_right = 1024.0
|
|
margin_bottom = 600.0
|
|
|
|
[node name="Button" type="Button" parent="ResourcePanel/VBoxContainer"]
|
|
margin_right = 412.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
text = "Clear History"
|
|
icon = ExtResource( 7 )
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="ResourcePanel/VBoxContainer"]
|
|
margin_top = 24.0
|
|
margin_right = 412.0
|
|
margin_bottom = 28.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="ResourcePanel/VBoxContainer"]
|
|
margin_top = 32.0
|
|
margin_right = 412.0
|
|
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
|
|
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?"
|
|
|
|
[connection signal="text_entered" from="ResourcePanel/VBoxContainer2/LineEdit" to="." method="search"]
|
|
[connection signal="pressed" from="ResourcePanel/VBoxContainer2/CreateButton" to="CreateNamePopup" method="popup"]
|
|
[connection signal="pressed" from="ResourcePanel/VBoxContainer/Button" to="." method="clear_history"]
|
|
[connection signal="confirmed" from="DeletePopup" to="." method="delete_confirm"]
|