[gd_scene load_steps=3 format=3 uid="uid://d2ya6ly01724l"]

[ext_resource type="Theme" uid="uid://doq7ay6f7dgfo" path="res://src/ui/menus/menu.theme" id="1_k7hk0"]
[ext_resource type="Script" uid="uid://bt3oajqvevj4k" path="res://src/ui/menus/settings_menu/volume_slider/volume_slider.gd" id="1_rfe0k"]

[node name="VolumeSlider" type="VBoxContainer" groups=["VolumeSliders"]]
custom_minimum_size = Vector2(300, 0)
theme = ExtResource("1_k7hk0")
script = ExtResource("1_rfe0k")

[node name="NameContainer" type="HBoxContainer" parent="."]
layout_mode = 2
alignment = 1

[node name="Icon" type="Label" parent="NameContainer"]
layout_mode = 2
theme_type_variation = &"InputPrompt"
theme_override_constants/outline_size = 5
theme_override_font_sizes/font_size = 24
text = "🎧"

[node name="BusName" type="Label" parent="NameContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 8
theme_type_variation = &"HeaderMedium"
text = "Channel"

[node name="Slider" type="VSlider" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 1
size_flags_vertical = 3
step = 0.1

[node name="DigitalDisplay" type="HBoxContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 4

[node name="SpinBox" type="SpinBox" parent="DigitalDisplay"]
unique_name_in_owner = true
layout_mode = 2
step = 0.1
alignment = 2
suffix = "%"

[node name="AudioDemo" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true

[connection signal="drag_ended" from="Slider" to="." method="_on_slider_drag_ended"]
[connection signal="value_changed" from="Slider" to="." method="_on_component_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_component_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_spin_box_value_changed"]
