Files
audioeditor/Controls/Track.tscn

97 lines
3.0 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://c3kajrpp2ux7"]
[ext_resource type="Texture2D" uid="uid://bwfbs4jxbia3o" path="res://Assets/Icons/microphone_track.svg" id="2_r2pin"]
[ext_resource type="Script" uid="uid://nq2n8r8tq3nt" path="res://Scripts/Track.gd" id="2_rsf0h"]
[ext_resource type="FontFile" uid="uid://ctw3g5gundhpj" path="res://Assets/Fonts/InterVariable.ttf" id="3_12y3l"]
[ext_resource type="Script" uid="uid://dxqa86sq21uac" path="res://Scripts/TrackLineEdit.gd" id="4_2nwak"]
[sub_resource type="FontVariation" id="FontVariation_lbdn3"]
base_font = ExtResource("3_12y3l")
variation_opentype = {
1869640570: 14,
2003265652: 500
}
[node name="Track" type="Button"]
clip_children = 2
custom_minimum_size = Vector2(0, 40)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -1466.0
offset_bottom = -1040.0
grow_horizontal = 2
grow_vertical = 2
theme_type_variation = &"Track"
script = ExtResource("2_rsf0h")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
clip_children = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="ColorStrip" type="ColorRect" parent="HBoxContainer"]
self_modulate = Color(0.699653, 0.699654, 0.699653, 1)
clip_contents = true
custom_minimum_size = Vector2(2, 0)
layout_mode = 2
mouse_filter = 2
color = Color(0.435294, 0.435294, 0.435294, 1)
[node name="Body" type="MarginContainer" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Body"]
layout_mode = 2
mouse_filter = 2
[node name="NameIconControls" type="VBoxContainer" parent="HBoxContainer/Body/HBoxContainer"]
clip_children = 1
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
theme_override_constants/separation = 4
alignment = 1
[node name="IconAndName" type="HBoxContainer" parent="HBoxContainer/Body/HBoxContainer/NameIconControls"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
mouse_filter = 2
[node name="TrackIcon" type="TextureRect" parent="HBoxContainer/Body/HBoxContainer/NameIconControls/IconAndName"]
visible = false
modulate = Color(0.43134, 0.43134, 0.43134, 1)
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
size_flags_horizontal = 0
mouse_filter = 2
texture = ExtResource("2_r2pin")
expand_mode = 2
[node name="TrackName" type="LineEdit" parent="HBoxContainer/Body/HBoxContainer/NameIconControls/IconAndName"]
unique_name_in_owner = true
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
theme_override_fonts/font = SubResource("FontVariation_lbdn3")
placeholder_text = "Empty Track"
context_menu_enabled = false
draw_control_chars = true
caret_blink = true
script = ExtResource("4_2nwak")
[node name="PopupMenu" type="PopupMenu" parent="."]
unique_name_in_owner = true