2020-07-31 01:15:13 +02:00
|
|
|
[gd_scene load_steps=11 format=2]
|
2019-11-20 14:30:34 +01:00
|
|
|
|
2022-02-12 19:56:40 +01:00
|
|
|
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
|
|
|
|
[ext_resource path="res://ui/icons/icon_add.png" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://ui/icons/icon_edit.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://ui/icons/icon_remove.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://ui/windows/keybinds/KeybindCategory.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://ui/windows/keybinds/Keybinds.gd" type="Script" id=6]
|
|
|
|
[ext_resource path="res://ui/icons/icon_joy_button.png" type="Texture" id=7]
|
|
|
|
[ext_resource path="res://ui/icons/icon_mouse.png" type="Texture" id=8]
|
|
|
|
[ext_resource path="res://ui/icons/icon_keyboard.png" type="Texture" id=9]
|
2020-07-31 02:12:23 +02:00
|
|
|
[ext_resource path="res://ui/icons/icon_joy_axis.png" type="Texture" id=10]
|
2019-11-20 14:30:34 +01:00
|
|
|
|
|
|
|
[node name="KeybindWindow" type="PanelContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-02-12 19:56:40 +01:00
|
|
|
theme = ExtResource( 1 )
|
|
|
|
script = ExtResource( 6 )
|
2019-11-20 14:30:34 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2022-02-12 19:56:40 +01:00
|
|
|
keybind_category_scene = ExtResource( 5 )
|
2019-11-20 14:30:34 +01:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1020.0
|
|
|
|
margin_bottom = 596.0
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_top = 7.0
|
2020-07-31 01:15:13 +02:00
|
|
|
margin_right = 972.0
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_bottom = 22.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Keybinds"
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 976.0
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
rect_min_size = Vector2( 40, 30 )
|
|
|
|
text = "X"
|
|
|
|
|
2020-07-31 01:15:13 +02:00
|
|
|
[node name="InputMapEditor" type="InputMapEditor" parent="VBoxContainer"]
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_top = 38.0
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 554.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2022-02-12 19:56:40 +01:00
|
|
|
add_texture = ExtResource( 2 )
|
|
|
|
remove_texture = ExtResource( 4 )
|
|
|
|
edit_texture = ExtResource( 3 )
|
|
|
|
keyboard_texture = ExtResource( 9 )
|
|
|
|
joybutton_texture = ExtResource( 7 )
|
2020-07-31 02:12:23 +02:00
|
|
|
joyaxis_texture = ExtResource( 10 )
|
2022-02-12 19:56:40 +01:00
|
|
|
mouse_texture = ExtResource( 8 )
|
2019-11-20 14:30:34 +01:00
|
|
|
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_top = 562.0
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 592.0
|
|
|
|
alignment = 2
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer2"]
|
2020-07-31 01:15:13 +02:00
|
|
|
margin_left = 852.0
|
|
|
|
margin_right = 932.0
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_bottom = 30.0
|
|
|
|
rect_min_size = Vector2( 80, 30 )
|
|
|
|
text = "Cancel"
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="VBoxContainer/HBoxContainer2"]
|
|
|
|
margin_left = 936.0
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
rect_min_size = Vector2( 80, 30 )
|
|
|
|
text = "OK"
|
2022-02-12 19:56:40 +01:00
|
|
|
|
2019-11-20 14:30:34 +01:00
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button" to="." method="hide"]
|
2020-07-31 01:15:13 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Button" to="." method="hide"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Button2" to="." method="close"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Button2" to="VBoxContainer/InputMapEditor" method="queue_save"]
|