[gd_scene load_steps=2 format=3 uid="uid://bv6ptrditssow"]

[ext_resource type="Script" uid="uid://ddi1alk8oyi1b" path="res://scripts/gui/client_settings_menu.gd" id="1_xqyus"]

[node name="ClientSettings" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xqyus")

[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2

[node name="FullscreenButton" type="CheckButton" parent="VBoxContainer"]
layout_mode = 2
text = "Полный экран"

[node name="Sensitivity" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2

[node name="Label" type="Label" parent="VBoxContainer/Sensitivity"]
layout_mode = 2
text = "Чувствительность"

[node name="HSlider" type="HSlider" parent="VBoxContainer/Sensitivity"]
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
min_value = 0.001
max_value = 0.1
step = 0.001
value = 0.02

[node name="SpinBox" type="SpinBox" parent="VBoxContainer/Sensitivity"]
layout_mode = 2
max_value = 0.1
step = 0.001
value = 0.02
allow_greater = true
allow_lesser = true

[node name="GameplayMainAudio" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2

[node name="Label" type="Label" parent="VBoxContainer/GameplayMainAudio"]
layout_mode = 2
text = "Геймплей"

[node name="GameplayMainSlider" type="HSlider" parent="VBoxContainer/GameplayMainAudio"]
layout_mode = 2
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
value = 1.0

[connection signal="toggled" from="VBoxContainer/FullscreenButton" to="." method="_on_check_button_toggled"]
[connection signal="value_changed" from="VBoxContainer/Sensitivity/HSlider" to="." method="_on_h_slider_value_changed"]
[connection signal="value_changed" from="VBoxContainer/Sensitivity/SpinBox" to="." method="_on_spin_box_value_changed"]
[connection signal="value_changed" from="VBoxContainer/GameplayMainAudio/GameplayMainSlider" to="." method="_on_gameplay_main_slider_value_changed"]
