42 lines
1.4 KiB
Text
42 lines
1.4 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://scripts/CustomControls/VolumeSlider.gd" type="Script" id=1]
|
|
[ext_resource path="res://resources/graphics/GUI/Menu/VolumeSlider/VolumeSlider-Under.webp" type="Texture" id=3]
|
|
[ext_resource path="res://resources/graphics/GUI/Menu/VolumeSlider/VolumeSlider_Progress.webp" type="Texture" id=4]
|
|
|
|
[sub_resource type="DynamicFontData" id=1]
|
|
font_path = "res://resources/fonts/OneEleven.ttf"
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
size = 11
|
|
use_filter = true
|
|
font_data = SubResource( 1 )
|
|
|
|
[node name="VolumeSlider" type="Control"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
margin_left = -50.0
|
|
margin_top = 13.0
|
|
margin_right = -50.0
|
|
margin_bottom = 27.0
|
|
rect_scale = Vector2( 1.25, 1.25 )
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
|
[node name="TextureProgress" type="TextureProgress" parent="."]
|
|
margin_left = 4.0
|
|
margin_right = 1005.0
|
|
margin_bottom = 35.0
|
|
texture_under = ExtResource( 3 )
|
|
texture_progress = ExtResource( 4 )
|
|
|
|
[node name="ValueLabel" type="Label" parent="."]
|
|
margin_left = 1009.0
|
|
margin_top = 13.0
|
|
margin_right = 1009.0
|
|
margin_bottom = 27.0
|
|
rect_scale = Vector2( 1.25, 1.25 )
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
|
[connection signal="mouse_entered" from="TextureProgress" to="." method="_on_TextureProgress_mouse_entered"]
|
|
[connection signal="mouse_exited" from="TextureProgress" to="." method="_on_TextureProgress_mouse_exited"]
|