the-lost-memory/project/addons/dialogic/Editor/ThemeEditor/AudioPicker.tscn

147 lines
4.3 KiB
Plaintext
Raw Normal View History

2022-11-17 17:52:05 +00:00
[gd_scene load_steps=3 format=2]
[ext_resource path="res://addons/dialogic/Editor/ThemeEditor/AudioPicker.gd" type="Script" id=1]
[ext_resource path="res://addons/dialogic/Editor/Common/TLabel.tscn" type="PackedScene" id=2]
[node name="AudioPicker" type="GridContainer"]
margin_right = 265.0
margin_bottom = 132.0
size_flags_horizontal = 3
custom_constants/hseparation = 10
columns = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="FileLabel" parent="." instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 5.0
margin_right = 95.0
margin_bottom = 19.0
text = "Lautstärke"
text_key = "UseAudio"
[node name="FileHBoxContainer" type="HBoxContainer" parent="."]
margin_left = 105.0
margin_right = 265.0
margin_bottom = 24.0
[node name="EnableCheckBox" type="CheckBox" parent="FileHBoxContainer"]
margin_right = 24.0
margin_bottom = 24.0
[node name="PathButton" type="Button" parent="FileHBoxContainer"]
margin_left = 28.0
margin_right = 160.0
margin_bottom = 24.0
size_flags_horizontal = 3
text = "File or Folder"
[node name="VolumeLabel" parent="." instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 33.0
margin_right = 95.0
margin_bottom = 47.0
text = "Volume"
text_key = "Volume"
[node name="VolumeHBoxContainer" type="HBoxContainer" parent="."]
margin_left = 105.0
margin_top = 28.0
margin_right = 265.0
margin_bottom = 52.0
size_flags_horizontal = 3
[node name="VolumeSpinBox" type="SpinBox" parent="VolumeHBoxContainer"]
margin_right = 82.0
margin_bottom = 24.0
size_flags_horizontal = 3
size_flags_vertical = 4
min_value = -80.0
step = 0.01
[node name="VolumeRandRangeSpinBox" type="SpinBox" parent="VolumeHBoxContainer"]
margin_left = 86.0
margin_right = 160.0
margin_bottom = 24.0
hint_tooltip = "Random Range"
step = 0.01
prefix = "±"
[node name="PitchLabel" parent="." instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 61.0
margin_right = 95.0
margin_bottom = 75.0
text = "Pitch"
text_key = "Pitch"
[node name="PitchHBoxContainer" type="HBoxContainer" parent="."]
margin_left = 105.0
margin_top = 56.0
margin_right = 265.0
margin_bottom = 80.0
size_flags_horizontal = 3
[node name="PitchSpinBox" type="SpinBox" parent="PitchHBoxContainer"]
margin_right = 82.0
margin_bottom = 24.0
size_flags_horizontal = 3
size_flags_vertical = 4
step = 0.01
[node name="PitchRandRangeSpinBox" type="SpinBox" parent="PitchHBoxContainer"]
margin_left = 86.0
margin_right = 160.0
margin_bottom = 24.0
hint_tooltip = "Random Range"
max_value = 10.0
step = 0.01
prefix = "±"
[node name="InterruptLabel" parent="." instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 89.0
margin_right = 95.0
margin_bottom = 103.0
text = "Allow interrupt"
text_key = "Allow interrupt"
[node name="AllowInterruptCheckBox" type="CheckBox" parent="."]
margin_left = 105.0
margin_top = 84.0
margin_right = 265.0
margin_bottom = 108.0
[node name="AudioBusLabel" parent="." instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 115.0
margin_right = 95.0
margin_bottom = 129.0
text = "AudioBus"
text_key = "Audio Bus"
[node name="AudioBusOptionButton" type="OptionButton" parent="."]
margin_left = 105.0
margin_top = 112.0
margin_right = 265.0
margin_bottom = 132.0
text = "Master"
items = [ "Master", null, false, 0, null ]
selected = 0
[connection signal="toggled" from="FileHBoxContainer/EnableCheckBox" to="." method="_on_EnableCheckBox_toggled"]
[connection signal="pressed" from="FileHBoxContainer/PathButton" to="." method="_on_PathButton_pressed"]
[connection signal="value_changed" from="VolumeHBoxContainer/VolumeSpinBox" to="." method="_on_VolumeSpinBox_value_changed"]
[connection signal="value_changed" from="VolumeHBoxContainer/VolumeRandRangeSpinBox" to="." method="_on_VolumeRandRangeSpinBox_value_changed"]
[connection signal="value_changed" from="PitchHBoxContainer/PitchSpinBox" to="." method="_on_PitchSpinBox_value_changed"]
[connection signal="value_changed" from="PitchHBoxContainer/PitchRandRangeSpinBox" to="." method="_on_PitchRandRangeSpinBox_value_changed"]
[connection signal="toggled" from="AllowInterruptCheckBox" to="." method="_on_AllowInterruptCheckBox_toggled"]
[connection signal="item_selected" from="AudioBusOptionButton" to="." method="_on_AudioBusOptionButton_item_selected"]