test-client-godot/gui_scene/GUI/MusicControls/MusicControls.tscn

71 lines
2.5 KiB
Text
Raw Normal View History

[gd_scene load_steps=5 format=2]
[ext_resource path="res://gui_scene/GUI/MusicControls/Music.gd" type="Script" id=1]
2019-03-05 19:20:05 +00:00
[ext_resource path="res://assets/musics/pre-mix_khanat_main_theme_2018-07-23.ogg" type="AudioStream" id=2]
[ext_resource path="res://assets/musics/Sangakanat (short instrumental theme).ogg" type="AudioStream" id=3]
[ext_resource path="res://assets/musics/pre-mix_Le_concours_de_tartes_aux_klums.ogg" type="AudioStream" id=4]
[node name="Music" type="VBoxContainer"]
margin_right = 256.0
margin_bottom = 86.0
script = ExtResource( 1 )
2019-03-05 19:20:05 +00:00
[node name="Songs" type="Container" parent="."]
margin_right = 256.0
mouse_filter = 1
2019-03-05 19:20:05 +00:00
[node name="pre-mix_khanat_main_theme" type="AudioStreamPlayer" parent="Songs"]
pause_mode = 1
stream = ExtResource( 2 )
2019-03-05 19:20:05 +00:00
[node name="Sangakanat" type="AudioStreamPlayer" parent="Songs"]
pause_mode = 1
stream = ExtResource( 3 )
2019-03-05 19:20:05 +00:00
[node name="pre-mix_Le_concours_de_tartes_aux_klums" type="AudioStreamPlayer" parent="Songs"]
stream = ExtResource( 4 )
2019-03-05 19:20:05 +00:00
[node name="Title" type="Label" parent="."]
margin_top = 4.0
margin_right = 256.0
margin_bottom = 18.0
text = "Musique:"
2019-03-05 19:20:05 +00:00
[node name="SongsSelector" type="OptionButton" parent="."]
margin_top = 22.0
margin_right = 256.0
margin_bottom = 42.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
2019-03-05 19:20:05 +00:00
[node name="Buttons" type="HBoxContainer" parent="."]
margin_top = 46.0
margin_right = 256.0
margin_bottom = 66.0
2019-03-05 19:20:05 +00:00
[node name="Pause" type="Button" parent="Buttons"]
margin_right = 126.0
margin_bottom = 20.0
size_flags_horizontal = 3
custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 )
custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 )
custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 )
custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 )
toggle_mode = true
text = "Play"
2019-03-05 19:20:05 +00:00
[node name="Stop" type="Button" parent="Buttons"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 20.0
size_flags_horizontal = 3
custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 )
custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 )
custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 )
custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 )
text = "Stop"
[connection signal="item_selected" from="SongsSelector" to="." method="_on_SongsSelector_item_selected"]
[connection signal="toggled" from="Buttons/Pause" to="." method="_on_Pause_toggled"]
[connection signal="pressed" from="Buttons/Stop" to="." method="_on_Stop_pressed"]