godot_osc_demo/UI.tscn

119 lines
3.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://8xyprd3yldfg"]
[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"]
[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
script = ExtResource("1_28t32")
osc_dest_port = 9001
debug = true
[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
theme_override_constants/h_separation = 15
theme_override_constants/v_separation = 25
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
script = ExtResource("2_7hpi4")
[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
script = ExtResource("2_7hpi4")
[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
script = ExtResource("2_7hpi4")
[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
script = ExtResource("2_7hpi4")
[node name="Button1" type="Button" parent="MarginContainer/GridContainer"]
layout_mode = 2
theme_override_styles/pressed = SubResource("StyleBoxFlat_y0b18")
toggle_mode = true
text = "1"
script = ExtResource("3_ch7hh")
[node name="Button2" type="Button" parent="MarginContainer/GridContainer"]
layout_mode = 2
theme_override_styles/pressed = SubResource("StyleBoxFlat_iu8u7")
toggle_mode = true
text = "2"
script = ExtResource("3_ch7hh")
[node name="Button3" type="Button" parent="MarginContainer/GridContainer"]
layout_mode = 2
theme_override_styles/pressed = SubResource("StyleBoxFlat_7e33t")
toggle_mode = true
text = "3"
script = ExtResource("3_ch7hh")
[node name="Button4" type="Button" parent="MarginContainer/GridContainer"]
layout_mode = 2
theme_override_styles/pressed = SubResource("StyleBoxFlat_eeife")
toggle_mode = true
text = "4 "
script = ExtResource("3_ch7hh")