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

63 lines
1.8 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/interfaces/music_manager/music_button.gd" type="Script" id=1]
[ext_resource path="res://assets/interfaces/buttons/del.png" type="Texture" id=2]
[ext_resource path="res://assets/interfaces/buttons/down.png" type="Texture" id=3]
[ext_resource path="res://assets/interfaces/buttons/up.png" type="Texture" id=4]
[node name="music_button" type="HBoxContainer"]
margin_right = 150.0
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="up" type="TextureButton" parent="."]
margin_top = 2.0
margin_right = 16.0
margin_bottom = 18.0
size_flags_vertical = 6
texture_normal = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="down" type="TextureButton" parent="."]
margin_left = 20.0
margin_top = 2.0
margin_right = 36.0
margin_bottom = 18.0
size_flags_vertical = 6
texture_normal = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="musicplayer" type="Button" parent="."]
margin_left = 40.0
margin_right = 130.0
margin_bottom = 20.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="del" type="TextureButton" parent="."]
margin_left = 134.0
margin_top = 2.0
margin_right = 150.0
margin_bottom = 18.0
size_flags_horizontal = 8
size_flags_vertical = 6
texture_normal = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="music_selected" from="." to="." method="_on_music_button_music_selected"]
[connection signal="pressed" from="up" to="." method="_on_up_pressed"]
[connection signal="pressed" from="down" to="." method="_on_down_pressed"]
[connection signal="pressed" from="musicplayer" to="." method="_on_music_button_pressed"]
[connection signal="pressed" from="del" to="." method="_on_del_pressed"]