tetris
Diffstat (limited to 'settings/KeySelector.tscn')
-rw-r--r--settings/KeySelector.tscn68
1 files changed, 68 insertions, 0 deletions
diff --git a/settings/KeySelector.tscn b/settings/KeySelector.tscn
new file mode 100644
index 0000000..6e6e658
--- /dev/null
+++ b/settings/KeySelector.tscn
@@ -0,0 +1,68 @@
+[gd_scene load_steps=6 format=2]
+
+[ext_resource path="res://addons/remap/KeyPromptLabel.gd" type="Script" id=1]
+[ext_resource path="res://addons/remap/KeySelector.gd" type="Script" id=2]
+[ext_resource path="res://assets/remap.theme" type="Theme" id=3]
+[ext_resource path="res://addons/remap/PromptFont.ttf" type="DynamicFontData" id=4]
+
+[sub_resource type="DynamicFont" id=1]
+size = 50
+font_data = ExtResource( 4 )
+
+[node name="KeySelector" type="CanvasLayer"]
+script = ExtResource( 2 )
+
+[node name="Background" type="ColorRect" parent="."]
+anchor_right = 1.0
+anchor_bottom = 1.0
+theme = ExtResource( 3 )
+color = Color( 0.160156, 0.160156, 0.160156, 0.705882 )
+
+[node name="Center" type="CenterContainer" parent="Background"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+
+[node name="V" type="VBoxContainer" parent="Background/Center"]
+margin_left = 13.0
+margin_top = 75.0
+margin_right = 167.0
+margin_bottom = 168.0
+
+[node name="Label" type="Label" parent="Background/Center/V"]
+margin_right = 154.0
+margin_bottom = 12.0
+text = "type any key"
+align = 1
+
+[node name="KeyPrompter" type="Label" parent="Background/Center/V"]
+unique_name_in_owner = true
+margin_top = 16.0
+margin_right = 154.0
+margin_bottom = 77.0
+rect_min_size = Vector2( 125, 0 )
+custom_fonts/font = SubResource( 1 )
+align = 1
+script = ExtResource( 1 )
+
+[node name="H" type="HBoxContainer" parent="Background/Center/V"]
+margin_top = 81.0
+margin_right = 154.0
+margin_bottom = 93.0
+
+[node name="ok" type="Button" parent="Background/Center/V/H"]
+unique_name_in_owner = true
+margin_right = 50.0
+margin_bottom = 12.0
+rect_min_size = Vector2( 50, 0 )
+size_flags_horizontal = 3
+disabled = true
+text = "ok"
+
+[node name="cancel" type="Button" parent="Background/Center/V/H"]
+unique_name_in_owner = true
+margin_left = 54.0
+margin_right = 154.0
+margin_bottom = 12.0
+rect_min_size = Vector2( 100, 0 )
+size_flags_horizontal = 3
+text = "cancel"