Files
audioeditor/Controls/AudioClip.tscn
2025-07-24 23:29:02 +02:00

74 lines
2.0 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dmmgalpx4fcc7"]
[ext_resource type="Script" uid="uid://cxgi7wpdim7xs" path="res://Scripts/AudioClip.gd" id="1_iy5jd"]
[ext_resource type="Script" uid="uid://wrxkvb8fkmlp" path="res://Source/Waveform.cs" id="2_43oho"]
[node name="AudioClip" type="Panel"]
modulate = Color(0.552956, 0.552956, 0.552956, 1)
self_modulate = Color(1, 1, 1, 0.588235)
clip_contents = true
custom_minimum_size = Vector2(4, 64)
anchors_preset = -1
anchor_right = 0.104
anchor_bottom = 0.059
offset_right = 0.319992
offset_bottom = 0.279995
theme_type_variation = &"AudioClip"
script = ExtResource("1_iy5jd")
[node name="Panel" type="Panel" parent="."]
custom_minimum_size = Vector2(0, 20)
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.312
offset_bottom = 0.0319996
grow_horizontal = 2
[node name="ClipName" type="Label" parent="Panel"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 10
text = "New Audio Clip"
vertical_alignment = 1
text_overrun_behavior = 3
[node name="Window" type="ConfirmationDialog" parent="."]
title = "\"New Audio Clip\" Properties"
size = Vector2i(400, 600)
[node name="Control" type="Control" parent="Window"]
layout_mode = 3
anchors_preset = 0
offset_left = 8.0
offset_top = 8.0
offset_right = 92.0
offset_bottom = 51.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="Window/Control"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
text = "Clip properties!"
[node name="Waveform" type="Control" parent="."]
unique_name_in_owner = true
modulate = Color(0.779291, 0.779291, 0.779291, 1)
layout_mode = 1
anchor_top = 0.312
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 0.0319996
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_43oho")
[connection signal="on_double_click" from="." to="Window" method="popup_centered"]