2023-09-10 03:45:00 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://dk0u6daqunn2k"]
|
2022-05-07 17:11:47 +00:00
|
|
|
|
2023-09-10 03:45:00 +00:00
|
|
|
[ext_resource type="Script" path="res://Sample.gd" id="1"]
|
2022-05-07 17:11:47 +00:00
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
2023-09-10 03:45:00 +00:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
2022-05-07 17:11:47 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-09-10 03:45:00 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-05-07 17:11:47 +00:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2023-09-10 03:45:00 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 40.0
|
2022-05-07 17:11:47 +00:00
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
2023-09-10 03:45:00 +00:00
|
|
|
layout_mode = 2
|
2022-05-07 17:11:47 +00:00
|
|
|
|
|
|
|
[node name="UploadButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
2023-09-10 03:45:00 +00:00
|
|
|
layout_mode = 2
|
2022-05-07 17:11:47 +00:00
|
|
|
text = "Upload"
|
|
|
|
|
|
|
|
[node name="DownloadButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
2023-09-10 03:45:00 +00:00
|
|
|
layout_mode = 2
|
2022-05-07 17:11:47 +00:00
|
|
|
text = "Download"
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer"]
|
2023-09-10 03:45:00 +00:00
|
|
|
layout_mode = 2
|
|
|
|
script = ExtResource("1")
|
2022-05-07 17:11:47 +00:00
|
|
|
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/UploadButton" to="VBoxContainer/TextureRect" method="_on_UploadButton_pressed"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/DownloadButton" to="VBoxContainer/TextureRect" method="_on_DownloadButton_pressed"]
|