oh-my-git/scenes/file_browser_item.tscn
2023-09-06 16:04:23 +02:00

104 lines
2.7 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dwfuf4xbmljkn"]
[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"]
[node name="Control" type="Control"]
custom_minimum_size = Vector2(140, 140)
layout_mode = 3
anchor_right = 0.104
anchor_bottom = 0.126
offset_right = 0.319992
offset_bottom = -0.0800018
mouse_filter = 1
script = ExtResource("1")
[node name="Control" type="Control" parent="."]
anchors_preset = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
[node name="DropArea" parent="Control" instance=ExtResource("4")]
position = Vector2(0, 0)
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="Control2" type="Control" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.13
[node name="Control" type="Control" parent="VBoxContainer"]
custom_minimum_size = Vector2(0, 90)
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 2
[node name="ColorRect" type="ColorRect" parent="VBoxContainer/Control"]
visible = false
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color(0.203922, 0.721569, 0.501961, 1)
[node name="HEAD" type="TextureRect" parent="VBoxContainer/Control"]
self_modulate = Color(0, 0, 0, 0.317647)
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
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
stretch_mode = 6
[node name="Index" type="TextureRect" parent="VBoxContainer/Control"]
self_modulate = Color(0.54902, 0.45098, 1, 0.654902)
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
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
stretch_mode = 6
[node name="WD" type="TextureRect" parent="VBoxContainer/Control"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = 8.0
offset_right = -8.0
offset_bottom = -8.0
texture = ExtResource("3")
expand_mode = 1
stretch_mode = 6
[node name="Label" type="Label" parent="VBoxContainer"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
size_flags_vertical = 7
size_flags_stretch_ratio = 0.0
theme_override_fonts/font = ExtResource("2")
text = "filename"
[node name="PopupMenu" type="PopupMenu" parent="."]
[connection signal="id_pressed" from="PopupMenu" to="." method="_popup_menu_pressed"]