summaryrefslogtreecommitdiff
path: root/Tray.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Tray.tscn')
-rw-r--r--Tray.tscn15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tray.tscn b/Tray.tscn
index 9a4765b..8a26d5e 100644
--- a/Tray.tscn
+++ b/Tray.tscn
@@ -38,6 +38,19 @@ layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
+[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
+layout_mode = 2
+
+[node name="Save" type="Button" parent="VBoxContainer/HBoxContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+text = "Save"
+
+[node name="Load" type="Button" parent="VBoxContainer/HBoxContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+text = "Load"
+
[node name="Control" type="Control" parent="."]
layout_mode = 2
size_flags_horizontal = 0
@@ -60,4 +73,6 @@ collision_mask = 3
[node name="CollisionShape2D" type="CollisionShape2D" parent="TrayCollision"]
[connection signal="resized" from="." to="." method="_on_resized"]
+[connection signal="pressed" from="VBoxContainer/HBoxContainer/Save" to="." method="_on_save_pressed"]
+[connection signal="pressed" from="VBoxContainer/HBoxContainer/Load" to="." method="_on_load_pressed"]
[connection signal="pressed" from="Control/Button" to="." method="_on_button_pressed"]