wellbeingapp/godot/start_menu.tscn

111 lines
3.4 KiB
Plaintext

[gd_scene load_steps=8 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]
[ext_resource path="res://wb_theme.tres" type="Theme" id=5]
[ext_resource path="res://Assets/fonts/noto_sans_display_italic.ttf" type="DynamicFontData" id=6]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 6 )
[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 = 2.0
margin_right = 185.0
margin_bottom = 36.0
theme = ExtResource( 5 )
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
theme = ExtResource( 5 )
custom_fonts/font = SubResource( 1 )
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
theme = ExtResource( 5 )
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
theme = ExtResource( 5 )
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
theme = ExtResource( 5 )
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
theme = ExtResource( 5 )
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
theme = ExtResource( 5 )
text = "Check for Updates"
[node name="button_journal" type="Button" parent="GridContainer"]
visible = false
margin_left = 634.0
margin_top = 412.0
margin_right = 1260.0
margin_bottom = 610.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 5 )
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"]