[gd_scene load_steps=15 format=3 uid="uid://xwq863o6uvsu"]

[ext_resource type="Script" path="res://MainWindow.gd" id="1_eu0t5"]
[ext_resource type="PackedScene" uid="uid://b16on0oscg1bv" path="res://CharacterSelect.tscn" id="2_76kf4"]
[ext_resource type="Script" path="res://InsperationScrollContainer.gd" id="2_gxtxm"]
[ext_resource type="PackedScene" uid="uid://w400rnew7453" path="res://volume_slider.tscn" id="3_rxhba"]
[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"]
[ext_resource type="Script" path="res://MusicListScrollContainer.gd" id="7_dj026"]
[ext_resource type="Theme" uid="uid://rxexo3ur85as" path="res://LightGrayTheme.tres" id="7_wxbv6"]
[ext_resource type="PackedScene" uid="uid://bxydgil1yifps" path="res://SearchWindow.tscn" id="9_5ijvr"]

[sub_resource type="LabelSettings" id="LabelSettings_ychxr"]
font_size = 25

[sub_resource type="LabelSettings" id="LabelSettings_qspbu"]
font_size = 50

[sub_resource type="LabelSettings" id="LabelSettings_3m52w"]
font_size = 35

[sub_resource type="InputEventKey" id="InputEventKey_ujjlu"]
device = -1
command_or_control_autoremap = true
keycode = 83

[sub_resource type="Shortcut" id="Shortcut_fbju4"]
events = [SubResource("InputEventKey_ujjlu")]

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_eu0t5")

[node name="TopPanelContainer" type="PanelContainer" parent="."]
layout_mode = 0
offset_right = 1920.0
offset_bottom = 56.0

[node name="Title" type="Label" parent="."]
layout_mode = 2
offset_left = 32.0
offset_top = 8.0
offset_right = 337.0
offset_bottom = 46.0
size_flags_horizontal = 0
text = "Music Player Randomizer"
label_settings = SubResource("LabelSettings_ychxr")

[node name="Open" type="Button" parent="."]
layout_mode = 2
offset_left = 65.0
offset_top = 877.0
offset_right = 115.0
offset_bottom = 908.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 = 1204.0
offset_top = 95.0
offset_right = 1845.0
offset_bottom = 465.0
horizontal_scroll_mode = 0
script = ExtResource("2_gxtxm")

[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3

[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="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
offset_left = 52.0
offset_top = 81.0
offset_right = 977.0
offset_bottom = 368.0

[node name="GameLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "????????"
label_settings = SubResource("LabelSettings_qspbu")
horizontal_alignment = 1
autowrap_mode = 2

[node name="SongLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "??????"
label_settings = SubResource("LabelSettings_3m52w")
horizontal_alignment = 1
autowrap_mode = 2

[node name="CharacterSelect" parent="." instance=ExtResource("2_76kf4")]
visible = false

[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 69.0
offset_top = 924.0
offset_right = 1057.0
offset_bottom = 964.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="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="VolumeSlider" parent="PanelContainer/HBoxContainer" instance=ExtResource("3_rxhba")]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
size_flags_vertical = 4

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_5kvsq")
bus = &"music"

[node name="Players" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 1283.0
offset_top = 642.0
offset_right = 1820.0
offset_bottom = 1003.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")

[node name="ResetPlaylistButton" type="Button" parent="."]
layout_mode = 0
offset_left = 125.0
offset_top = 1017.0
offset_right = 236.0
offset_bottom = 1048.0
text = "Reset playlist"

[node name="ResetPointsButton" type="Button" parent="."]
layout_mode = 0
offset_left = 247.0
offset_top = 1018.0
offset_right = 358.0
offset_bottom = 1049.0
text = "Reset points"

[node name="SyncButton" type="Button" parent="."]
layout_mode = 0
offset_left = 370.0
offset_top = 1016.0
offset_right = 481.0
offset_bottom = 1047.0
text = "Sync games"

[node name="SoundTestButton" type="Button" parent="."]
layout_mode = 0
offset_left = 491.0
offset_top = 1016.0
offset_right = 602.0
offset_bottom = 1047.0
text = "Sound test"

[node name="ShowAnswerButton" type="Button" parent="."]
layout_mode = 0
offset_left = 611.0
offset_top = 1016.0
offset_right = 722.0
offset_bottom = 1047.0
text = "Show answer"

[node name="NextButton" type="Button" parent="."]
layout_mode = 0
offset_left = 729.0
offset_top = 1017.0
offset_right = 904.0
offset_bottom = 1048.0
text = "Randomize new track"

[node name="MusicListPanel" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 136.0
offset_top = 388.0
offset_right = 1009.0
offset_bottom = 845.0
theme = ExtResource("7_wxbv6")

[node name="ScrollContainer" type="ScrollContainer" parent="MusicListPanel"]
layout_mode = 2
follow_focus = true
script = ExtResource("7_dj026")

[node name="MusicList" type="VBoxContainer" parent="MusicListPanel/ScrollContainer"]
layout_mode = 2

[node name="SearchButton" type="Button" parent="."]
layout_mode = 0
offset_left = 1528.0
offset_top = 8.0
offset_right = 1598.0
offset_bottom = 48.0
shortcut = SubResource("Shortcut_fbju4")
text = "Search"

[node name="SettingsButton" type="Button" parent="."]
layout_mode = 0
offset_left = 1624.0
offset_top = 8.0
offset_right = 1694.0
offset_bottom = 48.0
text = "Settings"

[node name="StatisticsButton" type="Button" parent="."]
layout_mode = 0
offset_left = 1720.0
offset_top = 8.0
offset_right = 1798.0
offset_bottom = 48.0
text = "Statistics"

[node name="AboutButton" type="Button" parent="."]
layout_mode = 0
offset_left = 1824.0
offset_top = 8.0
offset_right = 1894.0
offset_bottom = 48.0
text = "About"

[node name="Search" parent="." instance=ExtResource("9_5ijvr")]
visible = false
layout_mode = 1
offset_left = 349.196
offset_top = 81.2367
offset_right = 349.196
offset_bottom = 81.2367

[node name="PopupPanel" type="PopupPanel" parent="."]
initial_position = 2
size = Vector2i(140, 70)

[node name="Label" type="Label" parent="PopupPanel"]
offset_left = 4.0
offset_top = 4.0
offset_right = 136.0
offset_bottom = 66.0
text = "Games synced!"
horizontal_alignment = 1
vertical_alignment = 1

[connection signal="dir_selected" from="FileDialog" to="." method="_on_file_dialog_dir_selected"]
