|
| 1 | +[gd_scene load_steps=11 format=3 uid="uid://dqqi0ixflctdy"] |
| 2 | + |
| 3 | +[ext_resource type="Texture2D" uid="uid://ckxgkwoiqj3on" path="res://assets/images/ui/slider_button.png" id="1_rgon2"] |
| 4 | +[ext_resource type="Texture2D" uid="uid://bju77jxdk7mwl" path="res://assets/images/ui/slider_button_hover.png" id="2_54ihq"] |
| 5 | +[ext_resource type="Texture2D" uid="uid://dnish8tdwujum" path="res://assets/images/ui/slider_button_held.png" id="3_4l2yy"] |
| 6 | +[ext_resource type="Texture2D" uid="uid://bektpxlme7plh" path="res://assets/images/ui/slider_bar.png" id="4_pfhvi"] |
| 7 | +[ext_resource type="Texture2D" uid="uid://ci82om0gcdj02" path="res://assets/images/ui/slider_bar_filled.png" id="5_jvm01"] |
| 8 | +[ext_resource type="Texture2D" uid="uid://cieae2burfs2c" path="res://assets/images/ui/slider_highlight.png" id="6_q2uf3"] |
| 9 | +[ext_resource type="Script" path="res://scripts/ui/fps_slider.gd" id="7_06ord"] |
| 10 | + |
| 11 | +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_n4eiu"] |
| 12 | +texture = ExtResource("4_pfhvi") |
| 13 | +texture_margin_left = 3.0 |
| 14 | +texture_margin_top = 3.0 |
| 15 | +texture_margin_right = 3.0 |
| 16 | +texture_margin_bottom = 3.0 |
| 17 | +region_rect = Rect2(0, 0, 11, 7) |
| 18 | + |
| 19 | +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_i10qj"] |
| 20 | +texture = ExtResource("5_jvm01") |
| 21 | +texture_margin_left = 3.0 |
| 22 | +texture_margin_top = 2.0 |
| 23 | +texture_margin_right = 3.0 |
| 24 | +texture_margin_bottom = 4.0 |
| 25 | +region_rect = Rect2(0, 0, 11, 7) |
| 26 | + |
| 27 | +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_3fvdy"] |
| 28 | +texture = ExtResource("6_q2uf3") |
| 29 | +texture_margin_left = 3.0 |
| 30 | +texture_margin_top = 2.0 |
| 31 | +texture_margin_right = 3.0 |
| 32 | +texture_margin_bottom = 4.0 |
| 33 | + |
| 34 | +[node name="VolumeSlider" type="HSlider"] |
| 35 | +size_flags_horizontal = 3 |
| 36 | +theme_override_icons/grabber = ExtResource("1_rgon2") |
| 37 | +theme_override_icons/grabber_highlight = ExtResource("2_54ihq") |
| 38 | +theme_override_icons/grabber_disabled = ExtResource("3_4l2yy") |
| 39 | +theme_override_icons/tick = ExtResource("1_rgon2") |
| 40 | +theme_override_styles/slider = SubResource("StyleBoxTexture_n4eiu") |
| 41 | +theme_override_styles/grabber_area = SubResource("StyleBoxTexture_i10qj") |
| 42 | +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxTexture_3fvdy") |
| 43 | +max_value = 1.0 |
| 44 | +step = 0.005 |
| 45 | +ticks_on_borders = true |
| 46 | +script = ExtResource("7_06ord") |
| 47 | + |
| 48 | +[connection signal="drag_ended" from="." to="." method="_on_drag_ended"] |
| 49 | +[connection signal="drag_started" from="." to="." method="_on_drag_started"] |
| 50 | +[connection signal="value_changed" from="." to="." method="_on_value_changed"] |
0 commit comments