40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
[gd_scene format=3 uid="uid://c3scm07fgpkcp"]
|
|
|
|
[ext_resource type="Script" uid="uid://3a0cypjsx5cq" path="res://scripts/notification_display.gd" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://dtggedl0127vk" path="res://graphics/stock.png" id="2_nqp5d"]
|
|
|
|
[node name="NotificationDisplay" type="Control" unique_id=1 node_paths=PackedStringArray("icon", "label")]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1")
|
|
icon = NodePath("HBoxContainer/Icon")
|
|
label = NodePath("HBoxContainer/Label")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=228546504]
|
|
layout_mode = 1
|
|
theme_override_constants/separator = 4
|
|
|
|
[node name="Icon" type="TextureRect" parent="HBoxContainer" unique_id=3]
|
|
custom_minimum_size = Vector2(16, 16)
|
|
custom_maximum_size = Vector2(16, 16)
|
|
propagate_maximum_size = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
texture = ExtResource("2_nqp5d")
|
|
stretch_mode = 1
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer" unique_id=4]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
text = "Weapon name"
|
|
vertical_alignment = 1
|
|
uppercase = true
|
|
|
|
[node name="Background" type="ColorRect" parent="." unique_id=2]
|
|
z_index = -1
|
|
layout_mode = 0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.4117647, 0.4117647, 0.41568628, 1)
|