broken_seals_roguelike/game/ui/keybinds/Keybinds.tscn

85 lines
2.9 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=11 format=2]
[ext_resource path="res://ui/keybinds/Keybinds.gd" type="Script" id=1]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=2]
[ext_resource path="res://ui/keybinds/KeybindCategory.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/icons/icon_mouse.png" type="Texture" id=4]
[ext_resource path="res://ui/icons/icon_keyboard.png" type="Texture" id=5]
[ext_resource path="res://ui/icons/icon_joy_button.png" type="Texture" id=6]
[ext_resource path="res://ui/icons/icon_remove.png" type="Texture" id=7]
[ext_resource path="res://ui/icons/icon_add.png" type="Texture" id=8]
[ext_resource path="res://ui/icons/icon_edit.png" type="Texture" id=9]
[ext_resource path="res://ui/icons/icon_joy_axis.png" type="Texture" id=10]
[node name="KeybindWindow" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 2 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
keybind_category_scene = ExtResource( 3 )
[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
margin_right = 972.0
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"
[node name="InputMapEditor" type="InputMapEditor" parent="VBoxContainer"]
margin_top = 38.0
margin_right = 1016.0
margin_bottom = 554.0
size_flags_horizontal = 3
size_flags_vertical = 3
add_texture = ExtResource( 8 )
remove_texture = ExtResource( 7 )
edit_texture = ExtResource( 9 )
keyboard_texture = ExtResource( 5 )
joybutton_texture = ExtResource( 6 )
joyaxis_texture = ExtResource( 10 )
mouse_texture = ExtResource( 4 )
[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"]
margin_left = 852.0
margin_right = 932.0
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"
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button" to="." method="hide"]
[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"]