2023-09-06 16:04:23 +02:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://dwfuf4xbmljkn"]
|
2020-10-23 13:07:16 +02:00
|
|
|
|
2023-09-06 16:04:23 +02:00
|
|
|
[ext_resource type="Script" path="res://scenes/file_browser_item.gd" id="1"]
|
|
|
|
[ext_resource type="FontFile" path="res://fonts/default.tres" id="2"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://3gckq7gkf67d" path="res://nodes/document.svg" id="3"]
|
|
|
|
[ext_resource type="PackedScene" path="res://scenes/drop_area.tscn" id="4"]
|
2020-10-23 13:07:16 +02:00
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
2023-09-06 16:04:23 +02:00
|
|
|
custom_minimum_size = Vector2(140, 140)
|
|
|
|
layout_mode = 3
|
2020-10-27 18:21:57 +01:00
|
|
|
anchor_right = 0.104
|
|
|
|
anchor_bottom = 0.126
|
2023-09-06 16:04:23 +02:00
|
|
|
offset_right = 0.319992
|
|
|
|
offset_bottom = -0.0800018
|
2020-11-07 13:59:47 +01:00
|
|
|
mouse_filter = 1
|
2023-09-06 16:04:23 +02:00
|
|
|
script = ExtResource("1")
|
2020-10-23 13:07:16 +02:00
|
|
|
|
2020-11-10 12:14:45 +01:00
|
|
|
[node name="Control" type="Control" parent="."]
|
2023-09-06 16:04:23 +02:00
|
|
|
anchors_preset = 0
|
2020-11-10 12:14:45 +01:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
2023-09-06 16:04:23 +02:00
|
|
|
[node name="DropArea" parent="Control" instance=ExtResource("4")]
|
|
|
|
position = Vector2(0, 0)
|
2020-11-10 12:14:45 +01:00
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2023-09-06 16:04:23 +02:00
|
|
|
layout_mode = 0
|
2020-10-23 13:07:16 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
mouse_filter = 2
|
|
|
|
|
2021-01-14 11:57:51 +01:00
|
|
|
[node name="Control2" type="Control" parent="VBoxContainer"]
|
2023-09-06 16:04:23 +02:00
|
|
|
layout_mode = 2
|
2021-01-14 11:57:51 +01:00
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_stretch_ratio = 0.13
|
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="Control" type="Control" parent="VBoxContainer"]
|
2023-09-06 16:04:23 +02:00
|
|
|
custom_minimum_size = Vector2(0, 90)
|
|
|
|
layout_mode = 2
|
2020-10-23 13:07:16 +02:00
|
|
|
size_flags_vertical = 3
|
2023-09-06 16:04:23 +02:00
|
|
|
mouse_filter = 2
|
2020-10-23 13:07:16 +02:00
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="VBoxContainer/Control"]
|
2020-10-27 18:21:57 +01:00
|
|
|
visible = false
|
2023-09-06 16:04:23 +02:00
|
|
|
layout_mode = 0
|
2020-10-27 18:21:57 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-10-23 13:07:16 +02:00
|
|
|
mouse_filter = 2
|
2023-09-06 16:04:23 +02:00
|
|
|
color = Color(0.203922, 0.721569, 0.501961, 1)
|
2020-10-23 13:07:16 +02:00
|
|
|
|
2021-01-06 17:04:23 +01:00
|
|
|
[node name="HEAD" type="TextureRect" parent="VBoxContainer/Control"]
|
2023-09-06 16:04:23 +02:00
|
|
|
self_modulate = Color(0, 0, 0, 0.317647)
|
|
|
|
layout_mode = 0
|
2020-10-27 18:21:57 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-09-06 16:04:23 +02:00
|
|
|
offset_left = -9.54361
|
|
|
|
offset_top = 0.372345
|
|
|
|
offset_right = -25.5436
|
|
|
|
offset_bottom = -15.6277
|
|
|
|
scale = Vector2(1.2, 1.2)
|
|
|
|
texture = ExtResource("3")
|
|
|
|
expand_mode = 1
|
2020-10-27 18:21:57 +01:00
|
|
|
stretch_mode = 6
|
|
|
|
|
2021-01-06 17:04:23 +01:00
|
|
|
[node name="Index" type="TextureRect" parent="VBoxContainer/Control"]
|
2023-09-06 16:04:23 +02:00
|
|
|
self_modulate = Color(0.54902, 0.45098, 1, 0.654902)
|
|
|
|
layout_mode = 0
|
2021-01-06 17:04:23 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-09-06 16:04:23 +02:00
|
|
|
offset_left = -1.15317
|
|
|
|
offset_top = 4.18617
|
|
|
|
offset_right = -17.1532
|
|
|
|
offset_bottom = -11.8138
|
|
|
|
scale = Vector2(1.1, 1.1)
|
|
|
|
texture = ExtResource("3")
|
|
|
|
expand_mode = 1
|
2021-01-06 17:04:23 +01:00
|
|
|
stretch_mode = 6
|
|
|
|
|
|
|
|
[node name="WD" type="TextureRect" parent="VBoxContainer/Control"]
|
2023-09-06 16:04:23 +02:00
|
|
|
layout_mode = 0
|
2021-01-06 17:04:23 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-09-06 16:04:23 +02:00
|
|
|
offset_left = 8.0
|
|
|
|
offset_top = 8.0
|
|
|
|
offset_right = -8.0
|
|
|
|
offset_bottom = -8.0
|
|
|
|
texture = ExtResource("3")
|
|
|
|
expand_mode = 1
|
2020-11-03 16:39:55 +01:00
|
|
|
stretch_mode = 6
|
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
2023-09-06 16:04:23 +02:00
|
|
|
custom_minimum_size = Vector2(0, 40)
|
|
|
|
layout_mode = 2
|
2020-10-27 18:21:57 +01:00
|
|
|
size_flags_vertical = 7
|
2021-01-14 11:57:51 +01:00
|
|
|
size_flags_stretch_ratio = 0.0
|
2023-09-06 16:04:23 +02:00
|
|
|
theme_override_fonts/font = ExtResource("2")
|
2020-10-23 13:07:16 +02:00
|
|
|
text = "filename"
|
2020-11-10 18:22:24 +01:00
|
|
|
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="."]
|
2023-09-06 16:04:23 +02:00
|
|
|
|
2020-11-10 18:22:24 +01:00
|
|
|
[connection signal="id_pressed" from="PopupMenu" to="." method="_popup_menu_pressed"]
|