flow controls in freeroam

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-04 20:58:39 -07:00
parent 1efee5b65e
commit 143d95a297
6 changed files with 85 additions and 29 deletions

View file

@ -4,13 +4,15 @@
[node name="FlowControl" type="Control"]
layout_mode = 3
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
script = ExtResource("1_fg0vw")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = -1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2

View file

@ -4,44 +4,56 @@
[node name="FlowControl" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 512.0
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
script = ExtResource("1_6sy3t")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_right = 512.0
offset_bottom = 40.0
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="Panel"]
layout_mode = 0
layout_mode = 1
anchors_preset = -1
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = 4.0
offset_top = 4.0
offset_right = 244.0
offset_bottom = 36.0
offset_bottom = -4.0
text = "Movement"
vertical_alignment = 1
clip_text = true
text_overrun_behavior = 3
[node name="InStepper" type="SpinBox" parent="Panel"]
layout_mode = 0
offset_left = 248.0
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_right = 0.75
anchor_bottom = 1.0
offset_top = 4.0
offset_right = 376.0
offset_bottom = 36.0
offset_right = -4.0
offset_bottom = -4.0
max_value = 10000.0
step = 0.1
value = 1.0
prefix = "In:"
[node name="OutStepper" type="SpinBox" parent="Panel"]
layout_mode = 0
offset_left = 380.0
layout_mode = 1
anchors_preset = -1
anchor_left = 0.75
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 4.0
offset_right = 508.0
offset_bottom = 36.0
offset_right = -4.0
offset_bottom = -4.0
max_value = 10000.0
step = 0.1
value = 1.0

View file

@ -594,7 +594,10 @@ offset_right = 516.0
offset_bottom = 388.0
[node name="FlowHandle" type="Control" parent="FlyoutPanel/FlowControls/InvisibleMask"]
anchors_preset = 0
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
grow_horizontal = 2
[node name="VScrollBar" type="VScrollBar" parent="FlyoutPanel/FlowControls"]
layout_mode = 0

View file

@ -121,7 +121,6 @@ horizontal_alignment = 2
vertical_alignment = 1
[node name="FlowControlsScreen" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -182,7 +181,10 @@ grow_horizontal = 2
grow_vertical = 2
[node name="FlowHandle" type="Control" parent="FlowControlsScreen/DialogPanel/InvisibleMask"]
anchors_preset = 0
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
grow_horizontal = 2
[node name="VScrollBar" type="VScrollBar" parent="FlowControlsScreen/DialogPanel"]
layout_mode = 1
@ -198,6 +200,7 @@ max_value = 0.0
step = 1.0
[node name="CosmeticsScreen" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -283,4 +286,6 @@ step = 1.0
[connection signal="pressed" from="Buttons/ExitMenuButton" to="." method="_on_exit_menu_button_pressed"]
[connection signal="pressed" from="Buttons/ExitButton" to="." method="_on_exit_button_pressed"]
[connection signal="pressed" from="FlowControlsScreen/InputEater" to="." method="_on_input_eater_pressed"]
[connection signal="value_changed" from="FlowControlsScreen/DialogPanel/VScrollBar" to="." method="_on_flow_v_scroll_bar_value_changed"]
[connection signal="pressed" from="CosmeticsScreen/InputEater" to="." method="_on_input_eater_pressed"]
[connection signal="value_changed" from="CosmeticsScreen/DialogPanel/VScrollBar" to="." method="_on_cosmetics_v_scroll_bar_value_changed"]