wellbeingapp/godot/start_menu.tscn
2022-08-17 12:23:41 +08:00

97 lines
2.9 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://start_menu.gd" type="Script" id=1]
[ext_resource path="res://button_name.gd" type="Script" id=2]
[ext_resource path="res://button_email_feedback.gd" type="Script" id=3]
[ext_resource path="res://button_open_github.gd" type="Script" id=4]
[node name="start_menu" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="welcome_title" type="Label" parent="."]
unique_name_in_owner = true
anchor_left = 0.5
anchor_right = 0.5
margin_left = -185.0
margin_top = 7.0
margin_right = 185.0
margin_bottom = 38.0
text = "All your base are belong to us"
[node name="HTTPRequest" type="HTTPRequest" parent="."]
[node name="version_label" type="Label" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 5.0
margin_top = -31.0
margin_right = 1280.0
margin_bottom = -1.0
text = "Version"
[node name="GridContainer" type="GridContainer" parent="."]
margin_left = 10.0
margin_top = 55.0
margin_right = 1270.0
margin_bottom = 665.0
columns = 2
[node name="button_daily_action" type="Button" parent="GridContainer"]
margin_right = 626.0
margin_bottom = 198.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Daily Action"
[node name="button_open_github" type="Button" parent="GridContainer"]
margin_left = 634.0
margin_right = 1260.0
margin_bottom = 198.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "GitHub"
script = ExtResource( 4 )
[node name="button_email_feedback" type="Button" parent="GridContainer"]
margin_top = 206.0
margin_right = 626.0
margin_bottom = 404.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Feedback"
script = ExtResource( 3 )
[node name="button_name" type="Button" parent="GridContainer"]
margin_left = 634.0
margin_top = 206.0
margin_right = 1260.0
margin_bottom = 404.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Name"
script = ExtResource( 2 )
[node name="button_update_check" type="Button" parent="GridContainer"]
margin_top = 412.0
margin_right = 626.0
margin_bottom = 610.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Check for Updates"
[node name="button_journal" type="Button" parent="GridContainer"]
visible = false
margin_left = 230.0
margin_top = 90.0
margin_right = 332.0
margin_bottom = 127.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Journal"
[connection signal="request_completed" from="HTTPRequest" to="." method="_on_HTTPRequest_request_completed"]
[connection signal="pressed" from="GridContainer/button_open_github" to="GridContainer/button_open_github" method="_on_button_open_github_pressed"]
[connection signal="pressed" from="GridContainer/button_email_feedback" to="GridContainer/button_email_feedback" method="_on_button_email_feedback_pressed"]
[connection signal="pressed" from="GridContainer/button_name" to="GridContainer/button_name" method="_on_button_name_pressed"]
[connection signal="pressed" from="GridContainer/button_update_check" to="." method="_on_button_update_check_pressed"]