2020-11-24 17:34:46 +01:00
|
|
|
[gd_scene load_steps=5 format=2]
|
2020-09-22 13:15:36 +02:00
|
|
|
|
2020-10-26 19:15:47 +01:00
|
|
|
[ext_resource path="res://scenes/file_browser.gd" type="Script" id=1]
|
2020-10-23 16:43:02 +02:00
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
|
2020-10-23 13:07:16 +02:00
|
|
|
[ext_resource path="res://styles/theme.tres" type="Theme" id=3]
|
2020-11-24 17:34:46 +01:00
|
|
|
[ext_resource path="res://scenes/drop_area.tscn" type="PackedScene" id=4]
|
2020-09-22 13:15:36 +02:00
|
|
|
|
2020-11-10 22:52:48 +01:00
|
|
|
[node name="FileBrowser" type="Control" groups=[
|
|
|
|
"editors",
|
|
|
|
]]
|
2020-09-22 13:15:36 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-10-23 16:43:02 +02:00
|
|
|
rect_min_size = Vector2( 0, 142 )
|
2020-10-23 13:07:16 +02:00
|
|
|
theme = ExtResource( 3 )
|
2020-09-22 13:15:36 +02:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="Panel" type="Panel" parent="."]
|
2020-09-22 13:15:36 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-11-18 19:21:10 +01:00
|
|
|
mouse_filter = 1
|
2020-09-22 13:15:36 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-23 13:07:16 +02:00
|
|
|
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Panel"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-11-18 19:21:10 +01:00
|
|
|
mouse_filter = 1
|
2020-10-23 13:07:16 +02:00
|
|
|
custom_constants/margin_right = 8
|
|
|
|
custom_constants/margin_top = 8
|
|
|
|
custom_constants/margin_left = 8
|
|
|
|
custom_constants/margin_bottom = 8
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Rows" type="VBoxContainer" parent="Panel/Margin"]
|
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = 1912.0
|
|
|
|
margin_bottom = 1072.0
|
2020-10-23 16:43:02 +02:00
|
|
|
custom_constants/separation = 0
|
2020-10-23 13:07:16 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-23 16:43:02 +02:00
|
|
|
[node name="Title" type="Label" parent="Panel/Margin/Rows"]
|
2020-11-18 21:19:16 +01:00
|
|
|
visible = false
|
2020-10-23 16:43:02 +02:00
|
|
|
margin_right = 1904.0
|
2020-11-13 11:21:36 +01:00
|
|
|
margin_bottom = 29.0
|
2020-10-23 16:43:02 +02:00
|
|
|
text = "title"
|
|
|
|
align = 1
|
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="Breadcrumbs" type="HBoxContainer" parent="Panel/Margin/Rows"]
|
|
|
|
visible = false
|
2020-11-17 16:27:16 +01:00
|
|
|
margin_top = 29.0
|
|
|
|
margin_right = 1904.0
|
|
|
|
margin_bottom = 79.0
|
2020-10-23 13:07:16 +02:00
|
|
|
rect_min_size = Vector2( 0, 50 )
|
|
|
|
custom_constants/separation = 8
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
|
2020-11-17 16:27:16 +01:00
|
|
|
margin_right = 61.0
|
2020-10-23 13:07:16 +02:00
|
|
|
margin_bottom = 50.0
|
|
|
|
text = "root"
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
|
2020-11-17 16:27:16 +01:00
|
|
|
margin_left = 69.0
|
|
|
|
margin_right = 114.0
|
2020-10-23 13:07:16 +02:00
|
|
|
margin_bottom = 50.0
|
|
|
|
text = "dir"
|
|
|
|
|
2020-11-17 16:27:16 +01:00
|
|
|
[node name="World" type="Control" parent="Panel/Margin/Rows"]
|
2020-10-23 13:07:16 +02:00
|
|
|
margin_right = 1904.0
|
|
|
|
margin_bottom = 1064.0
|
2020-11-18 19:21:10 +01:00
|
|
|
mouse_filter = 1
|
2020-10-23 13:07:16 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2020-10-23 16:43:02 +02:00
|
|
|
[node name="TextEdit" type="TextEdit" parent="Panel"]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-10-27 18:21:57 +01:00
|
|
|
wrap_enabled = true
|
2020-10-23 16:43:02 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="SaveButton" type="Button" parent="Panel/TextEdit"]
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -114.396
|
|
|
|
margin_top = -59.399
|
|
|
|
margin_right = -14.3955
|
|
|
|
margin_bottom = -14.399
|
|
|
|
focus_mode = 0
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Save"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="CloseButton" type="Button" parent="Panel/TextEdit"]
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_left = -54.3247
|
|
|
|
margin_top = 12.0
|
|
|
|
margin_right = -14.3247
|
|
|
|
margin_bottom = 52.0
|
|
|
|
focus_mode = 0
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "x"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-11-10 18:34:51 +01:00
|
|
|
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="."]
|
|
|
|
margin_right = 20.0
|
|
|
|
margin_bottom = 20.0
|
2020-11-24 17:34:46 +01:00
|
|
|
|
|
|
|
[node name="DropArea" parent="." instance=ExtResource( 4 )]
|
2020-11-25 14:39:52 +01:00
|
|
|
position = Vector2( 79.9581, 82.3243 )
|
2020-10-23 16:43:02 +02:00
|
|
|
[connection signal="pressed" from="Panel/TextEdit/SaveButton" to="." method="save"]
|
|
|
|
[connection signal="pressed" from="Panel/TextEdit/CloseButton" to="." method="close"]
|