checheche/Robo-Bus-A31-HMI/Modules/volume_settings.tscn

60 lines
2.2 KiB
Plaintext
Raw Normal View History

2024-12-11 23:26:40 +08:00
[gd_scene load_steps=8 format=3 uid="uid://cffp3l0yvp4fg"]
[ext_resource type="Texture2D" uid="uid://qaq46brhnjbn" path="res://code/l3_7.png" id="1_q53pk"]
[ext_resource type="Script" path="res://Modules/volume_settings.gd" id="1_weo36"]
[ext_resource type="Texture2D" uid="uid://qmulrp786qvy" path="res://pad_hmi_ui/home/sound_bar.png" id="2_q2e4s"]
[ext_resource type="Texture2D" uid="uid://c13prs00h2k3o" path="res://pad_hmi_ui/home/sound_icon.png" id="3_uwj1p"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_o8w8u"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rir4m"]
texture = ExtResource("1_q53pk")
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h6qwb"]
texture = ExtResource("2_q2e4s")
texture_margin_left = 46.0
texture_margin_right = 42.0
expand_margin_top = 46.0
expand_margin_bottom = 52.0
[node name="VolumeSettings" type="MarginContainer"]
theme_override_constants/margin_left = 14
script = ExtResource("1_weo36")
[node name="HSlider" type="HSlider" parent="."]
custom_minimum_size = Vector2(0, 103)
layout_mode = 2
theme_override_icons/grabber = SubResource("CompressedTexture2D_o8w8u")
theme_override_icons/grabber_highlight = SubResource("CompressedTexture2D_o8w8u")
theme_override_icons/grabber_disabled = SubResource("CompressedTexture2D_o8w8u")
theme_override_icons/tick = ExtResource("1_q53pk")
theme_override_styles/slider = SubResource("StyleBoxTexture_rir4m")
theme_override_styles/grabber_area = SubResource("StyleBoxTexture_h6qwb")
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxTexture_h6qwb")
max_value = 140.0
value = 100.0
[node name="TextureRect" type="TextureRect" parent="HSlider"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 39.0
offset_top = -23.5
offset_right = 93.0
offset_bottom = 23.5
grow_vertical = 2
texture = ExtResource("3_uwj1p")
stretch_mode = 6
[node name="TextureRect2" type="TextureRect" parent="HSlider"]
show_behind_parent = true
layout_mode = 0
offset_top = 4.0
offset_right = 576.0
offset_bottom = 104.0
texture = ExtResource("1_q53pk")
[connection signal="drag_ended" from="HSlider" to="." method="_on_h_slider_drag_ended"]