aboutsummaryrefslogtreecommitdiff
path: root/client/menu/communicate/chat/chat_preview.tscn
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-25 15:30:01 +0200
committertpart <tpart120@proton.me>2024-09-25 15:45:32 +0200
commit2323f3d4ba638491110be16734be9c24485caefa (patch)
tree2810e1759488b3e12976e7ef7ca508e68ded8975 /client/menu/communicate/chat/chat_preview.tscn
parent8603ed6c5cd6ba8abc8516a25d45fdd0792bc0f8 (diff)
downloadhurrycurry-2323f3d4ba638491110be16734be9c24485caefa.tar
hurrycurry-2323f3d4ba638491110be16734be9c24485caefa.tar.bz2
hurrycurry-2323f3d4ba638491110be16734be9c24485caefa.tar.zst
Support pinned messages
Diffstat (limited to 'client/menu/communicate/chat/chat_preview.tscn')
-rw-r--r--client/menu/communicate/chat/chat_preview.tscn39
1 files changed, 39 insertions, 0 deletions
diff --git a/client/menu/communicate/chat/chat_preview.tscn b/client/menu/communicate/chat/chat_preview.tscn
new file mode 100644
index 00000000..4cc39e00
--- /dev/null
+++ b/client/menu/communicate/chat/chat_preview.tscn
@@ -0,0 +1,39 @@
+[gd_scene load_steps=5 format=3 uid="uid://xcxbmynn8mhi"]
+
+[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_x8ock"]
+[ext_resource type="Script" path="res://menu/communicate/chat/chat_preview.gd" id="2_72x70"]
+[ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://menu/theme/dark_blur_material.tres" id="4_jo1xn"]
+[ext_resource type="Script" path="res://menu/blur_setup.gd" id="5_1l77s"]
+
+[node name="ChatPreview" type="Control"]
+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_x8ock")
+script = ExtResource("2_72x70")
+
+[node name="MarginContainer" type="MarginContainer" parent="."]
+layout_mode = 2
+anchor_bottom = 1.0
+offset_right = 296.0
+grow_vertical = 2
+
+[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer"]
+layout_mode = 2
+horizontal_scroll_mode = 0
+
+[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/ScrollContainer"]
+material = ExtResource("4_jo1xn")
+layout_mode = 2
+size_flags_horizontal = 3
+size_flags_vertical = 0
+mouse_filter = 2
+script = ExtResource("5_1l77s")
+
+[node name="Messages" type="VBoxContainer" parent="MarginContainer/ScrollContainer/PanelContainer"]
+layout_mode = 2
+mouse_filter = 2