checheche/Robo-Bus-A31-HMI/common/ui.tscn
2024-12-06 21:22:11 +08:00

63 lines
2.0 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://bybsl52elkfus"]
[ext_resource type="Script" path="res://common/ui.gd" id="1_gp5he"]
[ext_resource type="Texture2D" uid="uid://cb4r0jir026gv" path="res://gui/res/mouse.png" id="2_5jqho"]
[ext_resource type="Shader" path="res://common/highlight.gdshader" id="2_a1qxv"]
[ext_resource type="Texture2D" uid="uid://fcn4h4tchr33" path="res://gui/res/progress_bar_0.png" id="4_nvqkt"]
[ext_resource type="Texture2D" uid="uid://bhfdafht0qrjy" path="res://gui/res/progress_bar_1.png" id="5_hqsp6"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_76jyf"]
shader = ExtResource("2_a1qxv")
shader_parameter/shine_color = Color(1, 1, 1, 1)
shader_parameter/shine_progress = 0.0
shader_parameter/shine_size = 0.1
shader_parameter/shine_angle = 74.5
[node name="CanvasLayer" type="CanvasLayer"]
layer = 2
script = ExtResource("1_gp5he")
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="Control"]
process_mode = 3
material = SubResource("ShaderMaterial_76jyf")
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2
texture = ExtResource("2_5jqho")
expand_mode = 1
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer" type="VBoxContainer" parent="Control/TextureRect"]
layout_mode = 0
offset_left = 51.0
offset_top = 1.0
offset_right = 113.0
offset_bottom = 41.0
[node name="reiki" type="TextureProgressBar" parent="Control/TextureRect/VBoxContainer"]
unique_name_in_owner = true
modulate = Color(0, 1, 1, 1)
custom_minimum_size = Vector2(0, 20)
layout_mode = 2
mouse_filter = 2
max_value = 1.0
step = 0.001
nine_patch_stretch = true
texture_over = ExtResource("4_nvqkt")
texture_progress = ExtResource("5_hqsp6")
[node name="Label" type="Label" parent="Control/TextureRect/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2