[gd_scene load_steps=8 format=2] [ext_resource path="res://addons/ess_data/icons/icon_add.png" type="Texture" id=1] [ext_resource path="res://addons/ess_data/panels/ResourceRow.tscn" type="PackedScene" id=2] [ext_resource path="res://addons/ess_data/icons/icon_empty.png" type="Texture" id=3] [ext_resource path="res://addons/ess_data/panels/ResourcePanel.gd" type="Script" id=4] [ext_resource path="res://addons/ess_data/panels/HistoryEntry.tscn" type="PackedScene" id=5] [ext_resource path="res://addons/ess_data/panels/CreateNamePopup.tscn" type="PackedScene" id=6] [ext_resource path="res://addons/ess_data/icons/icon_reload_small.png" type="Texture" id=7] [node name="Panel" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } resource_row_scene = ExtResource( 2 ) history_row_scene = ExtResource( 5 ) 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( 3 ) 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( 1 ) 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( 6 )] [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"]