2021-11-24 23:50:05 -05:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2021-11-24 17:37:23 -05:00
|
|
|
|
2021-11-24 23:50:05 -05:00
|
|
|
[ext_resource path="res://MainTheme.tres" type="Theme" id=1]
|
|
|
|
[ext_resource path="res://App.gd" type="Script" id=2]
|
|
|
|
|
|
|
|
[node name="Player" type="Control"]
|
2021-11-24 17:37:23 -05:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2021-11-24 23:50:05 -05:00
|
|
|
theme = ExtResource( 1 )
|
|
|
|
script = ExtResource( 2 )
|
2021-11-24 17:37:23 -05:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="PlayButton" type="Button" parent="."]
|
|
|
|
margin_right = 96.0
|
|
|
|
margin_bottom = 48.0
|
|
|
|
text = "Play"
|
2021-11-24 23:50:05 -05:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2021-11-24 17:37:23 -05:00
|
|
|
|
|
|
|
[node name="PauseButton" type="Button" parent="."]
|
|
|
|
margin_left = 112.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 48.0
|
|
|
|
text = "Pause"
|
2021-11-24 23:50:05 -05:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2021-11-24 17:37:23 -05:00
|
|
|
|
2021-11-24 23:50:05 -05:00
|
|
|
[node name="BrowseButton" type="Button" parent="."]
|
|
|
|
margin_left = 224.0
|
|
|
|
margin_right = 312.0
|
|
|
|
margin_bottom = 48.0
|
|
|
|
text = "Browse"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="FileDialog" type="FileDialog" parent="."]
|
|
|
|
margin_left = 160.0
|
|
|
|
margin_top = 112.0
|
|
|
|
margin_right = 792.0
|
|
|
|
margin_bottom = 488.0
|
|
|
|
window_title = "Open a File"
|
|
|
|
mode = 0
|
|
|
|
access = 2
|
|
|
|
current_dir = "/"
|
|
|
|
current_path = "/"
|
2021-11-24 17:37:23 -05:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_left = -120.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = -3.0
|
|
|
|
margin_bottom = 22.0
|
|
|
|
text = "Erable v0.1
|
|
|
|
Powered by Godot"
|
|
|
|
align = 2
|
|
|
|
valign = 2
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2021-11-24 23:50:05 -05:00
|
|
|
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="PlayButton" to="." method="_on_PlayButton_pressed"]
|
|
|
|
[connection signal="pressed" from="BrowseButton" to="." method="_on_BrowseButton_pressed"]
|
|
|
|
[connection signal="file_selected" from="FileDialog" to="." method="_on_FileDialog_file_selected"]
|