khanat-client/scenes/interfaces/music_manager/music_manager.tscn

176 lines
6.4 KiB
Text

[gd_scene load_steps=11 format=2]
[ext_resource path="res://assets/interfaces/music_manager/play.png" type="Texture" id=1]
[ext_resource path="res://assets/interfaces/music_manager/previous.png" type="Texture" id=2]
[ext_resource path="res://assets/interfaces/music_manager/next.png" type="Texture" id=3]
[ext_resource path="res://assets/interfaces/music_manager/pause.png" type="Texture" id=4]
[ext_resource path="res://scenes/interfaces/music_manager/music_manager.gd" type="Script" id=5]
[ext_resource path="res://assets/interfaces/jukebox/soundeffect_on.png" type="Texture" id=6]
[ext_resource path="res://assets/interfaces/jukebox/music_on.png" type="Texture" id=7]
[ext_resource path="res://assets/interfaces/jukebox/sound_on.png" type="Texture" id=8]
[ext_resource path="res://assets/interfaces/jukebox/auto_on.png" type="Texture" id=9]
[ext_resource path="res://assets/interfaces/buttons/add.png" type="Texture" id=10]
[node name="music_manager" type="WindowDialog"]
anchor_left = 0.45
anchor_top = 0.411
anchor_right = 0.817
anchor_bottom = 0.651
margin_top = 0.0799866
margin_right = 0.23999
margin_bottom = 0.279968
rect_min_size = Vector2( 256, 128 )
window_title = "JUKEBOX_TITLE"
resizable = true
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="file_dialog" type="FileDialog" parent="."]
margin_right = 538.0
margin_bottom = 326.0
popup_exclusive = true
window_title = "Ouvrir un ou plusieurs fichiers"
resizable = true
mode = 1
access = 2
filters = PoolStringArray( "*.mp3,*.ogg" )
show_hidden_files = true
current_dir = "/home/aleajactaest/Projets/khanat/khanat-client-new"
current_path = "/home/aleajactaest/Projets/khanat/khanat-client-new/"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="window_box" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="controls_box" type="HBoxContainer" parent="window_box"]
margin_right = 470.0
margin_bottom = 16.0
size_flags_horizontal = 3
[node name="h_box_container_4" type="HBoxContainer" parent="window_box/controls_box"]
margin_right = 152.0
margin_bottom = 16.0
size_flags_horizontal = 7
[node name="add" type="TextureButton" parent="window_box/controls_box/h_box_container_4"]
margin_left = 68.0
margin_right = 84.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_ADD"
size_flags_horizontal = 6
texture_normal = ExtResource( 10 )
[node name="h_box_container" type="HBoxContainer" parent="window_box/controls_box"]
margin_left = 224.0
margin_right = 240.0
margin_bottom = 16.0
size_flags_horizontal = 6
[node name="mute" type="TextureButton" parent="window_box/controls_box/h_box_container"]
margin_right = 16.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_MUTE"
size_flags_horizontal = 5
texture_normal = ExtResource( 8 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="h_box_container_2" type="HBoxContainer" parent="window_box/controls_box"]
margin_left = 313.0
margin_right = 313.0
margin_bottom = 16.0
[node name="previous" type="TextureButton" parent="window_box/controls_box/h_box_container_2"]
visible = false
margin_right = 16.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_PREVIOUS"
texture_normal = ExtResource( 2 )
__meta__ = {
"_editor_description_": ""
}
[node name="pause" type="TextureButton" parent="window_box/controls_box/h_box_container_2"]
visible = false
margin_right = 16.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_PAUSE"
texture_normal = ExtResource( 4 )
[node name="play" type="TextureButton" parent="window_box/controls_box/h_box_container_2"]
visible = false
margin_right = 16.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_PLAY"
texture_normal = ExtResource( 1 )
[node name="next" type="TextureButton" parent="window_box/controls_box/h_box_container_2"]
visible = false
margin_left = 20.0
margin_right = 36.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_NEXT"
texture_normal = ExtResource( 3 )
[node name="h_box_container_3" type="HBoxContainer" parent="window_box/controls_box"]
margin_left = 385.0
margin_right = 401.0
margin_bottom = 16.0
size_flags_horizontal = 6
[node name="soundeffect" type="TextureButton" parent="window_box/controls_box/h_box_container_3"]
visible = false
margin_right = 16.0
margin_bottom = 40.0
hint_tooltip = "JUKEBOX_SOUND_EFFECT"
texture_normal = ExtResource( 6 )
[node name="music" type="TextureButton" parent="window_box/controls_box/h_box_container_3"]
visible = false
margin_right = 16.0
margin_bottom = 40.0
hint_tooltip = "JUKEBOX_MUSIC"
texture_normal = ExtResource( 7 )
[node name="auto" type="TextureButton" parent="window_box/controls_box/h_box_container_3"]
margin_right = 16.0
margin_bottom = 16.0
hint_tooltip = "JUKEBOX_AUTO"
texture_normal = ExtResource( 9 )
[node name="scroll_box" type="ScrollContainer" parent="window_box"]
margin_top = 20.0
margin_right = 470.0
margin_bottom = 173.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="musics_box" type="VBoxContainer" parent="window_box/scroll_box"]
margin_right = 470.0
margin_bottom = 153.0
size_flags_horizontal = 7
size_flags_vertical = 3
[node name="music" type="AudioStreamPlayer" parent="."]
[connection signal="musicplayer_pressed" from="." to="." method="_on_music_manager_musicplayer_pressed"]
[connection signal="mute_pressed" from="." to="." method="_on_music_manager_mute_pressed"]
[connection signal="files_selected" from="file_dialog" to="." method="_on_file_dialog_files_selected"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_4/add" to="." method="_on_add_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container/mute" to="." method="_on_mute_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_2/previous" to="." method="_on_previous_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_2/pause" to="." method="_on_pause_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_2/play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_2/next" to="." method="_on_next_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_3/soundeffect" to="." method="_on_soundeffect_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_3/music" to="." method="_on_music_pressed"]
[connection signal="pressed" from="window_box/controls_box/h_box_container_3/auto" to="." method="_on_auto_pressed"]