aboutsummaryrefslogtreecommitdiff
path: root/client/menu/communicate/chat/chat_message.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_message.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_message.tscn')
-rw-r--r--client/menu/communicate/chat/chat_message.tscn30
1 files changed, 30 insertions, 0 deletions
diff --git a/client/menu/communicate/chat/chat_message.tscn b/client/menu/communicate/chat/chat_message.tscn
new file mode 100644
index 00000000..a095c42e
--- /dev/null
+++ b/client/menu/communicate/chat/chat_message.tscn
@@ -0,0 +1,30 @@
+[gd_scene load_steps=4 format=3 uid="uid://bpc2qgsvcafhe"]
+
+[ext_resource type="Script" path="res://menu/communicate/chat/chat_message.gd" id="1_ey0qp"]
+[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_rx6vg"]
+
+[sub_resource type="FontVariation" id="FontVariation_jfhbh"]
+variation_embolden = 1.3
+
+[node name="ChatMessage" type="HBoxContainer"]
+offset_right = 72.0
+offset_bottom = 165.0
+theme = ExtResource("1_rx6vg")
+script = ExtResource("1_ey0qp")
+
+[node name="Sender" type="Label" parent="."]
+layout_mode = 2
+theme_override_fonts/font = SubResource("FontVariation_jfhbh")
+text = "<Name>"
+
+[node name="Message" type="Label" parent="."]
+layout_mode = 2
+size_flags_horizontal = 3
+text = "Message"
+vertical_alignment = 1
+autowrap_mode = 3
+
+[node name="FadeAway" type="Timer" parent="."]
+one_shot = true
+
+[connection signal="timeout" from="FadeAway" to="." method="_on_fade_away_timeout"]