First commit
* Can open dir and play song * Can fetch song from server and show game * Can fetch list of games
This commit is contained in:
68
MainWindow.tscn
Normal file
68
MainWindow.tscn
Normal file
@@ -0,0 +1,68 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://db7eqdsumxmo1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvixk5bkj7lgb" path="res://Player.tscn" id="1_dm1l5"]
|
||||
[ext_resource type="Script" path="res://MainWindow.gd" id="1_eu0t5"]
|
||||
|
||||
[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="."]
|
||||
initial_position = 2
|
||||
title = "Open a Directory"
|
||||
size = Vector2i(616, 400)
|
||||
ok_button_text = "Select Current Folder"
|
||||
file_mode = 2
|
||||
access = 2
|
||||
show_hidden_files = true
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("1_dm1l5")]
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
offset_left = 98.0
|
||||
offset_top = 550.0
|
||||
offset_right = 748.0
|
||||
offset_bottom = 581.0
|
||||
grow_horizontal = 1
|
||||
grow_vertical = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 703.0
|
||||
offset_top = 42.0
|
||||
offset_right = 1073.0
|
||||
offset_bottom = 331.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
|
||||
|
||||
[connection signal="dir_selected" from="FileDialog" to="." method="_on_file_dialog_dir_selected"]
|
||||
Reference in New Issue
Block a user