165 lines
4.8 KiB
Plaintext
165 lines
4.8 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/escoria-core/ui_library/menus/options/flags/de.png" type="Texture" id=1]
|
|
[ext_resource path="res://addons/escoria-core/ui_library/menus/options/options.gd" type="Script" id=4]
|
|
|
|
[node name="options" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
|
margin_left = 391.0
|
|
margin_top = 340.0
|
|
margin_right = 888.0
|
|
margin_bottom = 535.0
|
|
size_flags_horizontal = 6
|
|
custom_constants/margin_right = 20
|
|
custom_constants/margin_top = 20
|
|
custom_constants/margin_left = 20
|
|
custom_constants/margin_bottom = 20
|
|
|
|
[node name="options" type="GridContainer" parent="VBoxContainer/MarginContainer"]
|
|
margin_left = 20.0
|
|
margin_top = 20.0
|
|
margin_right = 477.0
|
|
margin_bottom = 175.0
|
|
size_flags_vertical = 6
|
|
custom_constants/hseparation = 40
|
|
columns = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="label" type="Label" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_top = 30.0
|
|
margin_right = 137.0
|
|
margin_bottom = 44.0
|
|
text = "OPTIONS_LANGUAGE"
|
|
|
|
[node name="flags" type="HBoxContainer" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_left = 177.0
|
|
margin_right = 457.0
|
|
margin_bottom = 75.0
|
|
size_flags_vertical = 3
|
|
custom_constants/separation = 30
|
|
alignment = 1
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="VBoxContainer/MarginContainer/options/flags"]
|
|
margin_right = 125.0
|
|
margin_bottom = 75.0
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="VBoxContainer/MarginContainer/options/flags"]
|
|
margin_left = 155.0
|
|
margin_right = 280.0
|
|
margin_bottom = 75.0
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="label2" type="Label" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_top = 80.0
|
|
margin_right = 137.0
|
|
margin_bottom = 94.0
|
|
text = "GENERAL_VOLUME"
|
|
|
|
[node name="general_volume" type="HSlider" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_left = 177.0
|
|
margin_top = 79.0
|
|
margin_right = 457.0
|
|
margin_bottom = 95.0
|
|
size_flags_horizontal = 3
|
|
max_value = 1.0
|
|
step = 0.001
|
|
|
|
[node name="label3" type="Label" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_top = 100.0
|
|
margin_right = 137.0
|
|
margin_bottom = 114.0
|
|
text = "SOUND_VOLUME"
|
|
|
|
[node name="sound_volume" type="HSlider" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_left = 177.0
|
|
margin_top = 99.0
|
|
margin_right = 457.0
|
|
margin_bottom = 115.0
|
|
size_flags_horizontal = 3
|
|
max_value = 1.0
|
|
step = 0.001
|
|
|
|
[node name="label4" type="Label" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_top = 120.0
|
|
margin_right = 137.0
|
|
margin_bottom = 134.0
|
|
text = "MUSIC_VOLUME"
|
|
|
|
[node name="music_volume" type="HSlider" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_left = 177.0
|
|
margin_top = 119.0
|
|
margin_right = 457.0
|
|
margin_bottom = 135.0
|
|
size_flags_horizontal = 3
|
|
max_value = 1.0
|
|
step = 0.001
|
|
|
|
[node name="label5" type="Label" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_top = 140.0
|
|
margin_right = 137.0
|
|
margin_bottom = 154.0
|
|
text = "SPEECH_VOLUME"
|
|
|
|
[node name="speech_volume" type="HSlider" parent="VBoxContainer/MarginContainer/options"]
|
|
margin_left = 177.0
|
|
margin_top = 139.0
|
|
margin_right = 457.0
|
|
margin_bottom = 155.0
|
|
size_flags_horizontal = 3
|
|
max_value = 1.0
|
|
step = 0.001
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_top = 539.0
|
|
margin_right = 1280.0
|
|
margin_bottom = 559.0
|
|
custom_constants/separation = 20
|
|
alignment = 1
|
|
|
|
[node name="back" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 549.0
|
|
margin_right = 660.0
|
|
margin_bottom = 20.0
|
|
text = "OPTIONS_BACK"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="apply" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 680.0
|
|
margin_right = 731.0
|
|
margin_bottom = 20.0
|
|
text = "APPLY"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/MarginContainer/options/general_volume" to="." method="_on_general_volume_changed"]
|
|
[connection signal="value_changed" from="VBoxContainer/MarginContainer/options/sound_volume" to="." method="_on_sound_volume_changed"]
|
|
[connection signal="value_changed" from="VBoxContainer/MarginContainer/options/music_volume" to="." method="_on_music_volume_changed"]
|
|
[connection signal="value_changed" from="VBoxContainer/MarginContainer/options/speech_volume" to="." method="_on_speech_volume_value_changed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/back" to="." method="_on_back_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/apply" to="." method="_on_apply_pressed"]
|