mirror of
https://github.com/hobbesjaap/wellbeingapp.git
synced 2024-11-12 13:42:58 +00:00
90 lines
4.6 KiB
Plaintext
90 lines
4.6 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://button_user_save.gd" type="Script" id=1]
|
|
[ext_resource path="res://wb_theme.tres" type="Theme" id=2]
|
|
[ext_resource path="res://birthday_selector.gd" type="Script" id=3]
|
|
|
|
[node name="user_details" type="CanvasLayer"]
|
|
|
|
[node name="user_menu" type="PanelContainer" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -500.0
|
|
margin_top = -300.0
|
|
margin_right = 500.0
|
|
margin_bottom = 300.0
|
|
theme = ExtResource( 2 )
|
|
|
|
[node name="green_panel" type="Panel" parent="user_menu"]
|
|
margin_right = 1000.0
|
|
margin_bottom = 600.0
|
|
theme = ExtResource( 2 )
|
|
|
|
[node name="label_first_time" type="Label" parent="user_menu/green_panel"]
|
|
unique_name_in_owner = true
|
|
anchor_right = 1.0
|
|
margin_top = 3.0
|
|
margin_bottom = 37.0
|
|
theme = ExtResource( 2 )
|
|
text = "First time user: Please fill in your first name below."
|
|
align = 1
|
|
|
|
[node name="textbox_user_name" type="LineEdit" parent="user_menu/green_panel"]
|
|
unique_name_in_owner = true
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -350.0
|
|
margin_top = 41.0
|
|
margin_right = 350.0
|
|
margin_bottom = 75.0
|
|
theme = ExtResource( 2 )
|
|
caret_blink = true
|
|
caret_blink_speed = 0.5
|
|
|
|
[node name="birthday_selector" type="GridContainer" parent="user_menu/green_panel"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -134.0
|
|
margin_top = -150.0
|
|
margin_right = 133.0
|
|
margin_bottom = -116.0
|
|
columns = 2
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="button_birth_month" type="MenuButton" parent="user_menu/green_panel/birthday_selector"]
|
|
margin_right = 130.0
|
|
margin_bottom = 34.0
|
|
size_flags_horizontal = 3
|
|
text = "Month"
|
|
items = [ "January", null, 0, false, false, 1, 0, null, "", false, "February", null, 0, false, false, 2, 0, null, "", false, "March", null, 0, false, false, 3, 0, null, "", false, "April", null, 0, false, false, 4, 0, null, "", false, "May", null, 0, false, false, 5, 0, null, "", false, "June", null, 0, false, false, 6, 0, null, "", false, "July", null, 0, false, false, 7, 0, null, "", false, "August", null, 0, false, false, 8, 0, null, "", false, "September", null, 0, false, false, 9, 0, null, "", false, "October", null, 0, false, false, 10, 0, null, "", false, "November", null, 0, false, false, 11, 0, null, "", false, "December", null, 0, false, false, 12, 0, null, "", false ]
|
|
|
|
[node name="button_birth_day" type="MenuButton" parent="user_menu/green_panel/birthday_selector"]
|
|
margin_left = 138.0
|
|
margin_right = 267.0
|
|
margin_bottom = 34.0
|
|
focus_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme = ExtResource( 2 )
|
|
text = "Day"
|
|
items = [ "1", null, 0, false, false, 1, 0, null, "", false, "2", null, 0, false, false, 2, 0, null, "", false, "3", null, 0, false, false, 3, 0, null, "", false, "4", null, 0, false, false, 4, 0, null, "", false, "5", null, 0, false, false, 5, 0, null, "", false, "6", null, 0, false, false, 6, 0, null, "", false, "7", null, 0, false, false, 7, 0, null, "", false, "8", null, 0, false, false, 8, 0, null, "", false, "9", null, 0, false, false, 9, 0, null, "", false, "10", null, 0, false, false, 10, 0, null, "", false, "11", null, 0, false, false, 11, 0, null, "", false, "12", null, 0, false, false, 12, 0, null, "", false, "13", null, 0, false, false, 13, 0, null, "", false, "14", null, 0, false, false, 14, 0, null, "", false, "15", null, 0, false, false, 15, 0, null, "", false, "16", null, 0, false, false, 16, 0, null, "", false, "17", null, 0, false, false, 17, 0, null, "", false, "18", null, 0, false, false, 18, 0, null, "", false, "19", null, 0, false, false, 19, 0, null, "", false, "20", null, 0, false, false, 20, 0, null, "", false, "21", null, 0, false, false, 21, 0, null, "", false, "22", null, 0, false, false, 22, 0, null, "", false, "23", null, 0, false, false, 23, 0, null, "", false, "24", null, 0, false, false, 24, 0, null, "", false, "25", null, 0, false, false, 25, 0, null, "", false, "26", null, 0, false, false, 26, 0, null, "", false, "27", null, 0, false, false, 27, 0, null, "", false, "28", null, 0, false, false, 28, 0, null, "", false, "29", null, 0, false, false, 29, 0, null, "", false, "30", null, 0, false, false, 30, 0, null, "", false, "31", null, 0, false, false, 31, 0, null, "", false ]
|
|
|
|
[node name="button_user_save" type="Button" parent="user_menu/green_panel"]
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
margin_left = -74.0
|
|
margin_top = -49.0
|
|
margin_right = 74.5701
|
|
margin_bottom = -15.0
|
|
theme = ExtResource( 2 )
|
|
text = "Done"
|
|
expand_icon = true
|
|
script = ExtResource( 1 )
|
|
|
|
[connection signal="pressed" from="user_menu/green_panel/button_user_save" to="user_menu/green_panel/button_user_save" method="_on_button_user_save_pressed"]
|