Browse Source

:lipstick: Ajoute les etiquettes aux curseurs de volume

DricomDragon 10 months ago
parent
commit
efce84b8d8
1 changed files with 21 additions and 3 deletions
  1. 21 3
      godot/composants/interface/pause/pause_menu.tscn

+ 21 - 3
godot/composants/interface/pause/pause_menu.tscn

@@ -43,11 +43,20 @@ text = "Retour écran titre"
 layout_mode = 2
 text = "Quitter le jeu"
 
-[node name="VolumeControl" type="HBoxContainer" parent="VSplitContainer"]
+[node name="VolumeControle" type="HBoxContainer" parent="VSplitContainer"]
 layout_mode = 2
 size_flags_vertical = 8
 
-[node name="Musique" type="HSlider" parent="VSplitContainer/VolumeControl"]
+[node name="ControleMusique" type="VBoxContainer" parent="VSplitContainer/VolumeControle"]
+layout_mode = 2
+size_flags_horizontal = 3
+
+[node name="EtiquetteMusique" type="Label" parent="VSplitContainer/VolumeControle/ControleMusique"]
+layout_mode = 2
+text = "Musique"
+horizontal_alignment = 1
+
+[node name="CurseurMusique" type="HSlider" parent="VSplitContainer/VolumeControle/ControleMusique"]
 layout_mode = 2
 size_flags_horizontal = 3
 min_value = -60.0
@@ -55,7 +64,16 @@ max_value = 0.0
 script = ExtResource("4_ygvs3")
 nom_bus = "Musique"
 
-[node name="Bruits" type="HSlider" parent="VSplitContainer/VolumeControl"]
+[node name="ControleBruits" type="VBoxContainer" parent="VSplitContainer/VolumeControle"]
+layout_mode = 2
+size_flags_horizontal = 3
+
+[node name="EtiquetteMusique" type="Label" parent="VSplitContainer/VolumeControle/ControleBruits"]
+layout_mode = 2
+text = "Bruitages"
+horizontal_alignment = 1
+
+[node name="CurseurBruits" type="HSlider" parent="VSplitContainer/VolumeControle/ControleBruits"]
 layout_mode = 2
 size_flags_horizontal = 3
 min_value = -60.0