balatro-shader/components/vec2_param.tscn

63 lines
1.8 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://h7mgbxxwg86d"]
[ext_resource type="Theme" uid="uid://t07qph6qe3g7" path="res://inspector_theme.tres" id="1_utjn2"]
[ext_resource type="Script" uid="uid://ddh6dx1piks05" path="res://components/vec2_param.gd" id="2_j6hhs"]
[sub_resource type="LabelSettings" id="LabelSettings_v5o8a"]
font_size = 18
font_color = Color(1, 0.0392157, 0.0392157, 1)
[sub_resource type="LabelSettings" id="LabelSettings_cuurt"]
font_size = 18
font_color = Color(0.0392157, 1, 0.0392157, 1)
[node name="Vec2Control" type="HBoxContainer"]
anchors_preset = 10
anchor_right = 1.0
grow_horizontal = 2
size_flags_horizontal = 3
size_flags_vertical = 0
theme = ExtResource("1_utjn2")
script = ExtResource("2_j6hhs")
[node name="Label" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 3
text = "Label"
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
[node name="Label" type="Label" parent="HBoxContainer"]
layout_mode = 2
text = "x"
label_settings = SubResource("LabelSettings_v5o8a")
[node name="SpinBox_X" type="SpinBox" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
min_value = -10.0
max_value = 10.0
step = 0.01
custom_arrow_step = 0.01
select_all_on_focus = true
[node name="Label2" type="Label" parent="HBoxContainer"]
layout_mode = 2
text = "y"
label_settings = SubResource("LabelSettings_cuurt")
[node name="SpinBox_Y" type="SpinBox" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
min_value = -10.0
max_value = 10.0
step = 0.01
custom_arrow_step = 0.01
select_all_on_focus = true
[connection signal="value_changed" from="HBoxContainer/SpinBox_X" to="." method="_on_spin_box_x_value_changed"]
[connection signal="value_changed" from="HBoxContainer/SpinBox_Y" to="." method="_on_spin_box_y_value_changed"]