Added some buttons and added search view
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://xwq863o6uvsu"]
|
||||
[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"]
|
||||
@@ -8,6 +8,10 @@
|
||||
[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
|
||||
@@ -15,6 +19,14 @@ 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
|
||||
@@ -23,15 +35,17 @@ script = ExtResource("1_eu0t5")
|
||||
[node name="TopPanelContainer" type="PanelContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 52.0
|
||||
offset_bottom = 56.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TopPanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="TopPanelContainer/HBoxContainer"]
|
||||
[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
|
||||
@@ -227,4 +241,45 @@ 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
|
||||
|
||||
[connection signal="dir_selected" from="FileDialog" to="." method="_on_file_dialog_dir_selected"]
|
||||
|
||||
Reference in New Issue
Block a user