Files
MusicPlayer/MainWindow.tscn

132 lines
3.5 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://xwq863o6uvsu"]
[ext_resource type="Script" path="res://MainWindow.gd" id="1_eu0t5"]
[ext_resource type="AudioStream" uid="uid://n2g8jddr85h2" path="res://01. Opening.mp3" id="4_5kvsq"]
[ext_resource type="Texture2D" uid="uid://o5go6smk7hm1" path="res://person_add_alt_1-black-36dp.svg" id="4_op458"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_eu0t5")
[node name="Open" type="Button" parent="."]
layout_mode = 2
offset_left = 106.0
offset_top = 438.0
offset_right = 156.0
offset_bottom = 469.0
text = "Open"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
initial_position = 2
size = Vector2i(616, 400)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
show_hidden_files = true
[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 0
offset_left = 690.0
offset_top = 25.0
offset_right = 1060.0
offset_bottom = 314.0
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
text = "Test
"
[node name="Label2" type="Label" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
text = "Test2"
[node name="GameLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 143.0
offset_top = 141.0
offset_right = 557.0
offset_bottom = 253.0
[node name="ScrollContainer2" type="ScrollContainer" parent="."]
visible = false
clip_contents = false
custom_minimum_size = Vector2(100, 100)
layout_mode = 0
offset_left = 194.0
offset_top = 152.0
offset_right = 670.0
offset_bottom = 375.0
[node name="GridContainer" type="GridContainer" parent="ScrollContainer2"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 3
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 110.0
offset_top = 485.0
offset_right = 758.0
offset_bottom = 525.0
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer"]
layout_mode = 2
size_flags_vertical = 4
[node name="PlayButton" type="Button" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
text = "Play"
[node name="PauseButton" type="Button" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
text = "Pause"
[node name="StopButton" type="Button" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
text = "Stop"
[node name="HSlider" type="HSlider" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
scrollable = false
[node name="Label" type="Label" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
text = "1:00 / 3:00"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_5kvsq")
[node name="Players" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 837.0
offset_top = 264.0
offset_right = 1102.0
offset_bottom = 453.0
[node name="VBoxContainer" type="VBoxContainer" parent="Players"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Players/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Players/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "Players"
horizontal_alignment = 1
[node name="AddPlayer" type="TextureButton" parent="Players/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
texture_normal = ExtResource("4_op458")
[connection signal="dir_selected" from="FileDialog" to="." method="_on_file_dialog_dir_selected"]