140 lines
4.4 KiB
Plaintext
140 lines
4.4 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://c5johsq4wu63l"]
|
|
|
|
[ext_resource type="Script" uid="uid://b3kkhkytruoo4" path="res://scenes/account/account_screen.gd" id="1_acc"]
|
|
|
|
[node name="AccountScreen" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_acc")
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.094, 0.094, 0.137, 1)
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="TopBar" type="MarginContainer" parent="Layout"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="TopBarInner" type="HBoxContainer" parent="Layout/TopBar"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="BackBtn" type="Button" parent="Layout/TopBar/TopBarInner"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(40, 40)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "←"
|
|
|
|
[node name="TitleLabel" type="Label" parent="Layout/TopBar/TopBarInner"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "Account"
|
|
vertical_alignment = 1
|
|
|
|
[node name="HSep" type="HSeparator" parent="Layout"]
|
|
layout_mode = 2
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="Layout"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="Content" type="VBoxContainer" parent="Layout/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="ContentMargin" type="MarginContainer" parent="Layout/Scroll/Content"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 20
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="Sections" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 24
|
|
|
|
[node name="ProfileSection" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/Sections"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="ProfileLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/ProfileSection"]
|
|
modulate = Color(0.6, 0.6, 0.65, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 11
|
|
text = "PROFILE"
|
|
|
|
[node name="DisplayLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/ProfileSection"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "—"
|
|
|
|
[node name="OpLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/ProfileSection"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.95, 0.85, 0.3, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 15
|
|
text = "◆ — OP"
|
|
|
|
[node name="RankLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/ProfileSection"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.7, 0.7, 0.75, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Rank: —"
|
|
|
|
[node name="MailboxSection" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/Sections"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="MailboxLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/MailboxSection"]
|
|
modulate = Color(0.6, 0.6, 0.65, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 11
|
|
text = "MAILBOX"
|
|
|
|
[node name="LoadingLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/MailboxSection"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.7, 0.7, 0.75, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Loading…"
|
|
|
|
[node name="EmptyLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/Sections/MailboxSection"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.55, 0.55, 0.6, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "No messages yet."
|
|
|
|
[node name="MailboxList" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/Sections/MailboxSection"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|