Bugbot/UI/ControllerInput/controller_input_wheel_screen.tscn

56 lines
2.4 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://ce8w5d3nv0eli"]
[ext_resource type="PackedScene" uid="uid://b4cfqtvyfb80m" path="res://addons/Bugbot/UI/ControllerInput/controller_input_select_wheel.tscn" id="1_55kuj"]
[ext_resource type="Theme" uid="uid://cw07kl24clcs0" path="res://addons/Bugbot/UI/bug_report_form.theme" id="1_apys2"]
[ext_resource type="Script" path="res://addons/Bugbot/UI/ControllerInput/controller_input_wheel_text_edit.gd" id="2_e8edy"]
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_qubfr"]
device = -1
button_index = 3
pressed = true
[node name="ControllerInputWheelScreen" type="ColorRect"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_apys2")
color = Color(0, 0, 0, 0.25098)
script = ExtResource("2_e8edy")
edit_mode = 1
joypad_exit = SubResource("InputEventJoypadButton_qubfr")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.05
anchor_top = 0.1
anchor_right = 0.95
anchor_bottom = 0.9
grow_horizontal = 2
grow_vertical = 2
[node name="ControllerInputWheel" parent="VBoxContainer" instance=ExtResource("1_55kuj")]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 2.5
[node name="LineEdit" type="LineEdit" parent="VBoxContainer"]
layout_mode = 2
[node name="TextEdit" type="TextEdit" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 1
wrap_mode = 1
caret_multiple = false
[connection signal="backspace" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_backspace"]
[connection signal="delete" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_delete"]
[connection signal="move_caret_down" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_move_caret_down"]
[connection signal="move_caret_left" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_move_caret_left"]
[connection signal="move_caret_right" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_move_caret_right"]
[connection signal="move_caret_up" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_move_caret_up"]
[connection signal="new_character" from="VBoxContainer/ControllerInputWheel" to="." method="_on_controller_input_wheel_new_character"]