godot-third-person-basic-scene/scenes/controls/option_define_input.tscn

58 lines
1.7 KiB
Text
Raw Normal View History

2022-02-25 00:28:14 +00:00
[gd_scene load_steps=2 format=3 uid="uid://cvmel2sx7qfvy"]
[ext_resource type="Script" path="res://scenes/controls/option_define_input.gd" id="1_pgm2r"]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( "1_pgm2r" )
[node name="Window" type="Window" parent="."]
title = "OPTION_DEFINE_INPUT/TITLE"
position = Vector2i(30, 70)
2022-04-15 07:53:44 +00:00
size = Vector2i(300, 100)
2022-02-25 00:28:14 +00:00
visible = false
[node name="v" type="VBoxContainer" parent="Window"]
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2022-04-15 07:53:44 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-02-25 00:28:14 +00:00
[node name="label" type="Label" parent="Window/v"]
offset_right = 1024.0
offset_bottom = 26.0
text = "OPTION_DEFINE_INPUT/MESSAGE_KEY"
[node name="result" type="Label" parent="Window/v"]
offset_top = 30.0
offset_right = 1024.0
offset_bottom = 53.0
2022-04-15 07:53:44 +00:00
size_flags_vertical = 6
2022-02-25 00:28:14 +00:00
[node name="h" type="HBoxContainer" parent="Window/v"]
offset_top = 57.0
offset_right = 1024.0
offset_bottom = 88.0
[node name="Cancel" type="Button" parent="Window/v/h"]
offset_right = 255.0
offset_bottom = 31.0
size_flags_horizontal = 6
text = "OPTION_DEFINE_INPUT/CANCEL"
[node name="Ok" type="Button" parent="Window/v/h"]
offset_left = 259.0
offset_right = 476.0
offset_bottom = 31.0
size_flags_horizontal = 6
text = "OPTION_DEFINE_INPUT/OK"
[connection signal="window_input" from="Window" to="." method="_on_window_window_input"]
[connection signal="pressed" from="Window/v/h/Cancel" to="." method="_on_cancel_pressed"]
2022-04-15 07:53:44 +00:00
[connection signal="mouse_entered" from="Window/v/h/Ok" to="." method="_on_ok_mouse_entered"]
[connection signal="mouse_exited" from="Window/v/h/Ok" to="." method="_on_ok_mouse_exited"]
2022-02-25 00:28:14 +00:00
[connection signal="pressed" from="Window/v/h/Ok" to="." method="_on_ok_pressed"]