[gd_scene format=3 uid="uid://dqsocial001"] [ext_resource type="Theme" uid="uid://cxab3xxy00" path="res://assets/themes/GUI_Tekton.tres" id="1_mo5tx"] [ext_resource type="Script" uid="uid://dyr5tlvds11ib" path="res://scripts/ui/social_panel.gd" id="1_social"] [ext_resource type="Texture2D" uid="uid://jqvv6s55mlsk" path="res://assets/graphics/gui/BG.png" id="3_36pib"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_rvn4p"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5360p"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tab_active"] bg_color = Color(0, 0, 0, 1) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tab_inactive"] bg_color = Color(0, 0, 0, 0.48) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 [node name="SocialPanel" type="Control" unique_id=1931784939] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme = ExtResource("1_mo5tx") script = ExtResource("1_social") [node name="BgOverlay" type="TextureRect" parent="." unique_id=2114349387] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("3_36pib") expand_mode = 1 [node name="Panel" type="PanelContainer" parent="." unique_id=49835309] layout_mode = 1 anchor_left = 0.42 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 0.0 offset_top = 80.0 offset_right = -10.0 offset_bottom = -10.0 grow_horizontal = 0 grow_vertical = 2 mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxEmpty_5360p") [node name="Margin" type="MarginContainer" parent="Panel"] layout_mode = 2 mouse_filter = 2 theme_override_constants/margin_left = 30 theme_override_constants/margin_top = 30 theme_override_constants/margin_right = 30 theme_override_constants/margin_bottom = 30 [node name="VBox" type="VBoxContainer" parent="Panel/Margin" unique_id=1778361359] layout_mode = 2 mouse_filter = 2 [node name="Header" type="HBoxContainer" parent="Panel/Margin/VBox" unique_id=760715334] layout_mode = 2 [node name="TitleLabel" type="Label" parent="Panel/Margin/VBox/Header" unique_id=207941011] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 text = "" [node name="CloseBtn" type="Button" parent="Panel/Margin/VBox/Header" unique_id=1052436789] unique_name_in_owner = true layout_mode = 2 text = "X" [node name="HSep0" type="HSeparator" parent="Panel/Margin/VBox" unique_id=2043117827] layout_mode = 2 theme_override_styles/separator = SubResource("StyleBoxEmpty_rvn4p") [node name="TabBar" type="HBoxContainer" parent="Panel/Margin/VBox" unique_id=687086642] layout_mode = 2 theme_override_constants/separation = 12 [node name="SearchTabBtn" type="Button" parent="Panel/Margin/VBox/TabBar" unique_id=827932127] unique_name_in_owner = true custom_minimum_size = Vector2(0, 40) layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/normal = SubResource("StyleBoxFlat_tab_inactive") theme_override_styles/hover = SubResource("StyleBoxFlat_tab_inactive") theme_override_styles/pressed = SubResource("StyleBoxFlat_tab_active") toggle_mode = true button_pressed = true text = "FIND FRIEND" [node name="FriendsTabBtn" type="Button" parent="Panel/Margin/VBox/TabBar" unique_id=1723617099] unique_name_in_owner = true custom_minimum_size = Vector2(0, 40) layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/normal = SubResource("StyleBoxFlat_tab_inactive") theme_override_styles/hover = SubResource("StyleBoxFlat_tab_inactive") theme_override_styles/pressed = SubResource("StyleBoxFlat_tab_active") toggle_mode = true text = "FRIENDS" [node name="HSep1" type="HSeparator" parent="Panel/Margin/VBox" unique_id=549111536] layout_mode = 2 theme_override_styles/separator = SubResource("StyleBoxEmpty_5360p") [node name="SearchView" type="VBoxContainer" parent="Panel/Margin/VBox" unique_id=1208859643] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 [node name="SearchRow" type="HBoxContainer" parent="Panel/Margin/VBox/SearchView" unique_id=773262308] layout_mode = 2 [node name="SearchInput" type="LineEdit" parent="Panel/Margin/VBox/SearchView/SearchRow" unique_id=1000924330] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "Search by username..." [node name="SearchBtn" type="Button" parent="Panel/Margin/VBox/SearchView/SearchRow" unique_id=93688269] unique_name_in_owner = true layout_mode = 2 text = "Search" [node name="NoSearchResultsLabel" type="Label" parent="Panel/Margin/VBox/SearchView" unique_id=788091908] unique_name_in_owner = true visible = false layout_mode = 2 theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1) text = "No users found." [node name="SearchScroll" type="ScrollContainer" parent="Panel/Margin/VBox/SearchView" unique_id=209134848] layout_mode = 2 size_flags_vertical = 3 [node name="SearchResultsList" type="GridContainer" parent="Panel/Margin/VBox/SearchView/SearchScroll" unique_id=339880904] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/h_separation = 16 theme_override_constants/v_separation = 16 columns = 2 [node name="FriendsView" type="VBoxContainer" parent="Panel/Margin/VBox" unique_id=696809922] unique_name_in_owner = true visible = false layout_mode = 2 size_flags_vertical = 3 [node name="NoFriendsLabel" type="Label" parent="Panel/Margin/VBox/FriendsView" unique_id=1420717854] unique_name_in_owner = true visible = false layout_mode = 2 theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1) text = "No friends yet!" [node name="FriendScroll" type="ScrollContainer" parent="Panel/Margin/VBox/FriendsView" unique_id=1428917844] layout_mode = 2 size_flags_vertical = 3 [node name="FriendList" type="GridContainer" parent="Panel/Margin/VBox/FriendsView/FriendScroll" unique_id=1152435338] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/h_separation = 16 theme_override_constants/v_separation = 16 columns = 2 [node name="DMView" type="PanelContainer" parent="." unique_id=828807744] unique_name_in_owner = true visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_tab_inactive") [node name="VBox" type="VBoxContainer" parent="DMView"] layout_mode = 2 [node name="DMHeader" type="HBoxContainer" parent="DMView/VBox" unique_id=1689887837] layout_mode = 2 [node name="DMBackBtn" type="Button" parent="DMView/VBox/DMHeader" unique_id=1721956547] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1) text = "<- Back" [node name="DMUsernameLabel" type="Label" parent="DMView/VBox/DMHeader" unique_id=632301252] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1) [node name="DMLog" type="RichTextLabel" parent="DMView/VBox" unique_id=1090451527] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 theme_override_colors/default_color = Color(0.3, 0.18, 0.1, 1) bbcode_enabled = true scroll_following = true [node name="DMInputRow" type="HBoxContainer" parent="DMView/VBox" unique_id=433115787] layout_mode = 2 [node name="DMInput" type="LineEdit" parent="DMView/VBox/DMInputRow" unique_id=533043662] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "Type a message..." [node name="DMSendBtn" type="Button" parent="DMView/VBox/DMInputRow" unique_id=695010640] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1) text = "Send"