giants-godot/ui/menus/sound_settings.tscn

136 lines
3.5 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://assets/all_gbs/textures/chatbox.tga" type="Texture" id=2]
[ext_resource path="res://ui/menus/sound_settings.gd" type="Script" id=3]
[node name="SoundSettings" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.001
anchor_bottom = 0.997
margin_left = -2.0
margin_right = -0.0240479
margin_bottom = 1.79999
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 273.0
margin_top = 30.0
margin_right = -274.0
margin_bottom = -49.0
custom_constants/separation = 100
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GridContainer" type="GridContainer" parent="VBoxContainer"]
margin_right = 477.0
margin_bottom = 152.0
columns = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MasterLabel" type="Label" parent="VBoxContainer/GridContainer"]
margin_right = 160.0
margin_bottom = 35.0
text = "Master volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MasterVolume" type="HSlider" parent="VBoxContainer/GridContainer"]
margin_left = 164.0
margin_right = 477.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
[node name="MusicLabel" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 39.0
margin_right = 160.0
margin_bottom = 74.0
text = "Music volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MusicVolume" type="HSlider" parent="VBoxContainer/GridContainer"]
margin_left = 164.0
margin_top = 39.0
margin_right = 477.0
margin_bottom = 55.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
[node name="SoundsLabel" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 78.0
margin_right = 160.0
margin_bottom = 113.0
text = "Sounds volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SoundsVolume" type="HSlider" parent="VBoxContainer/GridContainer"]
margin_left = 164.0
margin_top = 78.0
margin_right = 477.0
margin_bottom = 94.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
[node name="AmbiantsLabel" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 117.0
margin_right = 160.0
margin_bottom = 152.0
text = "Ambiants volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AmbiantsVolume" type="HSlider" parent="VBoxContainer/GridContainer"]
margin_left = 164.0
margin_top = 117.0
margin_right = 477.0
margin_bottom = 133.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
[node name="Save" type="Button" parent="VBoxContainer"]
margin_top = 252.0
margin_right = 477.0
margin_bottom = 287.0
text = "Save"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Control" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
[connection signal="value_changed" from="VBoxContainer/GridContainer/MasterVolume" to="." method="_on_MasterVolume_value_changed"]
[connection signal="value_changed" from="VBoxContainer/GridContainer/MusicVolume" to="." method="_on_MusicVolume_value_changed"]
[connection signal="value_changed" from="VBoxContainer/GridContainer/SoundsVolume" to="." method="_on_SoundsVolume_value_changed"]
[connection signal="value_changed" from="VBoxContainer/GridContainer/AmbiantsVolume" to="." method="_on_AmbiantsVolume_value_changed"]
[connection signal="pressed" from="VBoxContainer/Save" to="." method="_on_Save_pressed"]