erable-godot/App.tscn

86 lines
2.1 KiB
Text
Raw Permalink Normal View History

[gd_scene load_steps=3 format=2]
2021-11-24 17:37:23 -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
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"
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-24 17:37:23 -05:00
2023-08-07 13:37:19 -04:00
[node name="StopButton" type="Button" parent="."]
2021-11-24 17:37:23 -05:00
margin_left = 112.0
margin_right = 208.0
margin_bottom = 48.0
2023-08-07 13:37:19 -04:00
text = "Stop"
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-24 17:37:23 -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
2023-08-07 13:37:19 -04:00
window_title = "Open a File"
mode = 0
access = 2
2021-11-26 09:22:33 -05:00
current_dir = "/run/media/storage/user-files/Projects/Erable"
current_path = "/run/media/storage/user-files/Projects/Erable/"
__meta__ = {
"_edit_use_anchors_": false
}
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
2021-11-26 09:22:33 -05:00
text = "Erable 0.1 Beta
Powered by Godot
Made by Andrew Lee"
2021-11-24 17:37:23 -05:00
align = 2
valign = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
2021-11-26 09:22:33 -05:00
[node name="ProgressSlider" type="HSlider" parent="."]
margin_left = 8.0
margin_top = 94.0
margin_right = 656.0
margin_bottom = 118.0
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="PlayButton" to="." method="_on_PlayButton_pressed"]
2023-08-07 13:37:19 -04:00
[connection signal="pressed" from="StopButton" to="." method="_on_StopButton_pressed"]
[connection signal="pressed" from="BrowseButton" to="." method="_on_BrowseButton_pressed"]
[connection signal="file_selected" from="FileDialog" to="." method="_on_FileDialog_file_selected"]
2021-11-26 09:22:33 -05:00
[connection signal="finished" from="AudioStreamPlayer" to="." method="_on_AudioStreamPlayer_finished"]