mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-18 01:06:47 +01:00
118 lines
4.0 KiB
Plaintext
118 lines
4.0 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://addons/model_manager/panels/CreateNamePopup.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://addons/model_manager/panels/ResourceRow.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://addons/model_manager/panels/HistoryEntry.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://addons/model_manager/icons/icon_add.png" type="Texture" id=4]
|
|
[ext_resource path="res://addons/model_manager/panels/ResourcePanel.gd" type="Script" id=5]
|
|
[ext_resource path="res://addons/model_manager/icons/icon_empty.png" type="Texture" id=6]
|
|
[ext_resource path="res://addons/model_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 = 664.0
|
|
margin_bottom = 600.0
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="ResourcePanel/VBoxContainer2"]
|
|
margin_right = 664.0
|
|
margin_bottom = 45.0
|
|
right_icon = ExtResource( 6 )
|
|
placeholder_text = "Filter"
|
|
caret_blink = true
|
|
|
|
[node name="CreateButton" type="Button" parent="ResourcePanel/VBoxContainer2"]
|
|
margin_top = 53.0
|
|
margin_right = 664.0
|
|
margin_bottom = 90.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 = 98.0
|
|
margin_right = 664.0
|
|
margin_bottom = 106.0
|
|
size_flags_horizontal = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ScrollContainer2" type="ScrollContainer" parent="ResourcePanel/VBoxContainer2"]
|
|
margin_top = 114.0
|
|
margin_right = 664.0
|
|
margin_bottom = 600.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel/VBoxContainer2/ScrollContainer2"]
|
|
margin_right = 664.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel"]
|
|
margin_left = 688.0
|
|
margin_right = 1024.0
|
|
margin_bottom = 600.0
|
|
|
|
[node name="Button" type="Button" parent="ResourcePanel/VBoxContainer"]
|
|
margin_right = 336.0
|
|
margin_bottom = 37.0
|
|
size_flags_horizontal = 3
|
|
text = "Clear History"
|
|
icon = ExtResource( 7 )
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="ResourcePanel/VBoxContainer"]
|
|
margin_top = 45.0
|
|
margin_right = 336.0
|
|
margin_bottom = 53.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="ResourcePanel/VBoxContainer"]
|
|
margin_top = 61.0
|
|
margin_right = 336.0
|
|
margin_bottom = 600.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePanel/VBoxContainer/ScrollContainer"]
|
|
margin_right = 336.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"]
|