diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-05 23:05:01 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-05 23:07:07 +0200 |
commit | 6efdec681466addf3c203640518bd8db122270db (patch) | |
tree | f81f15bb918dfa52e983727b7399153f8ce5a7c2 /client/gui/overlays/chat.tscn | |
parent | 81deaf81c800900e30046cb927be1c9d91ae61b8 (diff) | |
download | hurrycurry-6efdec681466addf3c203640518bd8db122270db.tar hurrycurry-6efdec681466addf3c203640518bd8db122270db.tar.bz2 hurrycurry-6efdec681466addf3c203640518bd8db122270db.tar.zst |
refactor scene tree of all overlays to be children of Overlays
Diffstat (limited to 'client/gui/overlays/chat.tscn')
-rw-r--r-- | client/gui/overlays/chat.tscn | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/client/gui/overlays/chat.tscn b/client/gui/overlays/chat.tscn new file mode 100644 index 00000000..068d0ee4 --- /dev/null +++ b/client/gui/overlays/chat.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=5 format=3 uid="uid://xcxbmynn8mhi"] + +[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://gui/resources/theme/theme.tres" id="1_lmy51"] +[ext_resource type="Script" uid="uid://bgt04y4ncl1fv" path="res://gui/overlays/chat.gd" id="2_3543w"] +[ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://gui/resources/materials/dark_blur_material.tres" id="3_15i2y"] +[ext_resource type="Script" uid="uid://cmncjc06kadpe" path="res://gui/components/blur_setup.gd" id="4_3rmhr"] + +[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_lmy51") +script = ExtResource("2_3543w") + +[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("3_15i2y") +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 0 +mouse_filter = 2 +script = ExtResource("4_3rmhr") + +[node name="Messages" type="VBoxContainer" parent="MarginContainer/ScrollContainer/PanelContainer"] +layout_mode = 2 +mouse_filter = 2 |