add all files
This commit is contained in:
parent
feb5df41ea
commit
371bda867d
34 changed files with 1875 additions and 14 deletions
42
Scenes/GUI/Controls/FlowSlider.tscn
Normal file
42
Scenes/GUI/Controls/FlowSlider.tscn
Normal file
|
@ -0,0 +1,42 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://blg1c3v4o44of"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://blhv0kms1sleu" path="res://Scripts/FlowSlider.gd" id="1_q164o"]
|
||||
|
||||
[node name="FlowSlider" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -1280.0
|
||||
offset_bottom = -720.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_q164o")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 32.0
|
||||
|
||||
[node name="Slider" type="HSlider" parent="Panel"]
|
||||
layout_mode = 2
|
||||
offset_left = 4.0
|
||||
offset_right = 64.0
|
||||
offset_bottom = 32.0
|
||||
size_flags_vertical = 1
|
||||
max_value = 5.0
|
||||
step = 0.1
|
||||
value = 1.0
|
||||
|
||||
[node name="ValueLabel" type="Label" parent="Panel"]
|
||||
layout_mode = 2
|
||||
offset_left = 64.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 32.0
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 1
|
||||
text = "1.0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[connection signal="value_changed" from="Panel/Slider" to="." method="_on_slider_value_changed"]
|
49
Scenes/GUI/Controls/IndicatorLight.tscn
Normal file
49
Scenes/GUI/Controls/IndicatorLight.tscn
Normal file
|
@ -0,0 +1,49 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cbf3x44mvo701"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cg157l4uo7ki8" path="res://Scripts/IndicatorLight.gd" id="1_l718a"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1pi70"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5m0fm"]
|
||||
bg_color = Color(0, 1, 0, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[node name="IndicatorLight" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -1280.0
|
||||
offset_bottom = -720.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_l718a")
|
||||
|
||||
[node name="Container" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
|
||||
[node name="Black" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 28.0
|
||||
offset_bottom = 28.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_1pi70")
|
||||
|
||||
[node name="Green" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 28.0
|
||||
offset_bottom = 28.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_5m0fm")
|
Loading…
Add table
Add a link
Reference in a new issue