2023-11-02 05:22:31 +01:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://8xyprd3yldfg"]
|
|
|
|
|
2023-11-04 16:06:33 +01:00
|
|
|
[ext_resource type="Script" path="res://ui.gd" id="1_28t32"]
|
|
|
|
[ext_resource type="Script" path="res://slider.gd" id="2_7hpi4"]
|
|
|
|
[ext_resource type="Script" path="res://toggle_button.gd" id="3_ch7hh"]
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_y0b18"]
|
|
|
|
bg_color = Color(1, 0, 0, 1)
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_iu8u7"]
|
|
|
|
bg_color = Color(0, 1, 0, 1)
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7e33t"]
|
|
|
|
bg_color = Color(0, 0, 1, 1)
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eeife"]
|
|
|
|
bg_color = Color(1, 1, 0.0235294, 1)
|
|
|
|
|
|
|
|
[node name="UI" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("1_28t32")
|
2023-11-04 23:45:43 +01:00
|
|
|
osc_dest_port = 9001
|
|
|
|
debug = true
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_constants/margin_left = 20
|
|
|
|
theme_override_constants/margin_top = 20
|
|
|
|
theme_override_constants/margin_right = 20
|
|
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="MarginContainer"]
|
|
|
|
layout_mode = 2
|
2023-11-04 23:45:43 +01:00
|
|
|
theme_override_constants/h_separation = 15
|
|
|
|
theme_override_constants/v_separation = 25
|
2023-11-02 05:22:31 +01:00
|
|
|
columns = 4
|
|
|
|
|
|
|
|
[node name="VSlider1" type="VSlider" parent="MarginContainer/GridContainer"]
|
|
|
|
custom_minimum_size = Vector2(50, 300)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 11
|
|
|
|
ticks_on_borders = true
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("2_7hpi4")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="VSlider2" type="VSlider" parent="MarginContainer/GridContainer"]
|
|
|
|
custom_minimum_size = Vector2(50, 300)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 11
|
|
|
|
ticks_on_borders = true
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("2_7hpi4")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="VSlider3" type="VSlider" parent="MarginContainer/GridContainer"]
|
|
|
|
custom_minimum_size = Vector2(50, 300)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 11
|
|
|
|
ticks_on_borders = true
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("2_7hpi4")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="VSlider4" type="VSlider" parent="MarginContainer/GridContainer"]
|
|
|
|
custom_minimum_size = Vector2(50, 300)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 11
|
|
|
|
ticks_on_borders = true
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("2_7hpi4")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="Button1" type="Button" parent="MarginContainer/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_y0b18")
|
|
|
|
toggle_mode = true
|
|
|
|
text = "1"
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("3_ch7hh")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="MarginContainer/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_iu8u7")
|
|
|
|
toggle_mode = true
|
|
|
|
text = "2"
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("3_ch7hh")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="Button3" type="Button" parent="MarginContainer/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_7e33t")
|
|
|
|
toggle_mode = true
|
|
|
|
text = "3"
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("3_ch7hh")
|
2023-11-02 05:22:31 +01:00
|
|
|
|
|
|
|
[node name="Button4" type="Button" parent="MarginContainer/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_eeife")
|
|
|
|
toggle_mode = true
|
|
|
|
text = "4 "
|
2023-11-04 16:06:33 +01:00
|
|
|
script = ExtResource("3_ch7hh")
|