175 lines
5.4 KiB
Plaintext
175 lines
5.4 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/friends_presence_ui.gd" id="1_fp"]
|
|
|
|
[node name="FriendsPresenceUI" 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_fp")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 32.0
|
|
offset_top = 32.0
|
|
offset_right = -32.0
|
|
offset_bottom = -32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="HeaderHBox" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="BackButton" type="Button" parent="VBoxContainer/HeaderHBox"]
|
|
custom_minimum_size = Vector2(100, 36)
|
|
layout_mode = 2
|
|
text = "< Back"
|
|
|
|
[node name="TitleLabel" type="Label" parent="VBoxContainer/HeaderHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "Friends & Social"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="RefreshButton" type="Button" parent="VBoxContainer/HeaderHBox"]
|
|
custom_minimum_size = Vector2(100, 36)
|
|
layout_mode = 2
|
|
text = "Refresh"
|
|
|
|
[node name="MyStatusHBox" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="StatusPrefix" type="Label" parent="VBoxContainer/MyStatusHBox"]
|
|
layout_mode = 2
|
|
text = "My Status:"
|
|
|
|
[node name="StatusLineEdit" type="LineEdit" parent="VBoxContainer/MyStatusHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "What are you doing? (e.g. Exploring worlds...)"
|
|
|
|
[node name="SetStatusButton" type="Button" parent="VBoxContainer/MyStatusHBox"]
|
|
custom_minimum_size = Vector2(110, 32)
|
|
layout_mode = 2
|
|
text = "Set Status"
|
|
|
|
[node name="StatusMessageLabel" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
horizontal_alignment = 1
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
current_tab = 0
|
|
|
|
[node name="Friends" type="VBoxContainer" parent="VBoxContainer/TabContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="VBoxContainer/TabContainer/Friends"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="FriendsList" type="VBoxContainer" parent="VBoxContainer/TabContainer/Friends/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Requests" type="VBoxContainer" parent="VBoxContainer/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="SendHBox" type="HBoxContainer" parent="VBoxContainer/TabContainer/Requests"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="TargetUserIdEdit" type="LineEdit" parent="VBoxContainer/TabContainer/Requests/SendHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Enter User ID to add..."
|
|
|
|
[node name="SendButton" type="Button" parent="VBoxContainer/TabContainer/Requests/SendHBox"]
|
|
custom_minimum_size = Vector2(120, 32)
|
|
layout_mode = 2
|
|
text = "Send Request"
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="VBoxContainer/TabContainer/Requests"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="RequestsList" type="VBoxContainer" parent="VBoxContainer/TabContainer/Requests/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Following" type="VBoxContainer" parent="VBoxContainer/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
metadata/_tab_index = 2
|
|
|
|
[node name="FollowHBox" type="HBoxContainer" parent="VBoxContainer/TabContainer/Following"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="FollowUserIdEdit" type="LineEdit" parent="VBoxContainer/TabContainer/Following/FollowHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Enter User ID to follow..."
|
|
|
|
[node name="FollowButton" type="Button" parent="VBoxContainer/TabContainer/Following/FollowHBox"]
|
|
custom_minimum_size = Vector2(100, 32)
|
|
layout_mode = 2
|
|
text = "Follow"
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="VBoxContainer/TabContainer/Following"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="FollowingList" type="VBoxContainer" parent="VBoxContainer/TabContainer/Following/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Blocked" type="VBoxContainer" parent="VBoxContainer/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
metadata/_tab_index = 3
|
|
|
|
[node name="BlockHBox" type="HBoxContainer" parent="VBoxContainer/TabContainer/Blocked"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="BlockUserIdEdit" type="LineEdit" parent="VBoxContainer/TabContainer/Blocked/BlockHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Enter User ID to block..."
|
|
|
|
[node name="BlockButton" type="Button" parent="VBoxContainer/TabContainer/Blocked/BlockHBox"]
|
|
custom_minimum_size = Vector2(100, 32)
|
|
layout_mode = 2
|
|
text = "Block"
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="VBoxContainer/TabContainer/Blocked"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="BlockedList" type="VBoxContainer" parent="VBoxContainer/TabContainer/Blocked/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 8
|