117 lines
3.3 KiB
Plaintext
117 lines
3.3 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://8xyprd3yldfg"]
|
|
|
|
[ext_resource type="Script" path="res://UI.gd" id="1_ft657"]
|
|
[ext_resource type="Script" path="res://Slider.gd" id="2_310mb"]
|
|
[ext_resource type="Script" path="res://ToggleButton.gd" id="3_ct66k"]
|
|
|
|
[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_ft657")
|
|
|
|
[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 = 10
|
|
theme_override_constants/v_separation = 10
|
|
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_310mb")
|
|
|
|
[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_310mb")
|
|
|
|
[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_310mb")
|
|
|
|
[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_310mb")
|
|
|
|
[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_ct66k")
|
|
|
|
[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_ct66k")
|
|
|
|
[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_ct66k")
|
|
|
|
[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_ct66k")
|