Files
MaidEngine/prefabs/contiguous_bar.tscn
2026-04-11 23:03:00 -04:00

53 lines
1.4 KiB
Plaintext

[gd_scene format=3 uid="uid://fw4ug70qd8nm"]
[ext_resource type="Texture2D" uid="uid://cavpqnd0qqoou" path="res://assets/ui/SO008B.BMP" id="1_nj0tn"]
[ext_resource type="Script" uid="uid://cb32ywwuyi706" path="res://scripts/ui/contiguous_bar.gd" id="2_cbar"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vkyrt"]
atlas = ExtResource("1_nj0tn")
region = Rect2(680, 557, 52, 7)
[sub_resource type="AtlasTexture" id="AtlasTexture_3kyon"]
atlas = ExtResource("1_nj0tn")
region = Rect2(680, 564, 50, 5)
[node name="ContiguousBar" type="Control" unique_id=1119297666]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_cbar")
[node name="EmptyBar" type="NinePatchRect" parent="." unique_id=303722124]
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_bottom = 7.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_vkyrt")
region_rect = Rect2(0, 0, 52, 7)
patch_margin_left = 1
patch_margin_top = 1
patch_margin_right = 1
patch_margin_bottom = 1
[node name="Fill" type="NinePatchRect" parent="EmptyBar" unique_id=1864372620]
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -1.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = -1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_3kyon")
region_rect = Rect2(0, 0, 50, 5)