diff --git a/Shounin/components/keyboard.tscn b/Shounin/components/keyboard.tscn index 119b100..bb94766 100644 --- a/Shounin/components/keyboard.tscn +++ b/Shounin/components/keyboard.tscn @@ -139,27 +139,45 @@ text = "n" [node name="keyEjectiveK" type="Button" parent="."] layout_mode = 0 offset_left = 881.0 -offset_top = 287.0 -offset_right = 1181.0 -offset_bottom = 550.0 +offset_top = 339.0 +offset_right = 1057.0 +offset_bottom = 509.0 theme_override_font_sizes/font_size = 128 text = "K" +[node name="keyRepeat" type="Button" parent="."] +layout_mode = 0 +offset_left = 885.0 +offset_top = 574.0 +offset_right = 957.0 +offset_bottom = 647.0 +theme_override_font_sizes/font_size = 64 +text = "*" + +[node name="keyDuplicant" type="Button" parent="."] +layout_mode = 0 +offset_left = 965.0 +offset_top = 574.0 +offset_right = 1037.0 +offset_bottom = 647.0 +theme_override_font_sizes/font_size = 64 +text = "!" + [node name="keyDelete" type="Button" parent="."] layout_mode = 0 -offset_left = 757.0 -offset_top = 691.0 -offset_right = 1109.0 -offset_bottom = 773.0 +offset_left = 885.0 +offset_top = 659.0 +offset_right = 1237.0 +offset_bottom = 741.0 theme_override_font_sizes/font_size = 32 text = "ʔaʃakasuKabi*u" [node name="keyReturn" type="Button" parent="."] layout_mode = 0 -offset_left = 1114.0 -offset_top = 691.0 -offset_right = 1432.0 -offset_bottom = 773.0 +offset_left = 1242.0 +offset_top = 659.0 +offset_right = 1560.0 +offset_bottom = 741.0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_font_sizes/font_size = 32 theme_override_styles/normal = SubResource("StyleBoxFlat_t3ecp") diff --git a/Shounin/demos/ashashat_demo.tscn b/Shounin/demos/ashashat_demo.tscn index 1ffc476..2834996 100644 --- a/Shounin/demos/ashashat_demo.tscn +++ b/Shounin/demos/ashashat_demo.tscn @@ -48,3 +48,14 @@ theme_override_fonts/font = ExtResource("4_cywxo") theme_override_font_sizes/font_size = 64 horizontal_alignment = 1 vertical_alignment = 1 + +[node name="DEMO" type="Label" parent="."] +layout_mode = 1 +anchors_preset = 1 +anchor_left = 1.0 +anchor_right = 1.0 +offset_left = -161.0 +offset_bottom = 78.0 +grow_horizontal = 0 +theme_override_font_sizes/font_size = 56 +text = "DEMO" diff --git a/Shounin/scripts/demo_ashashat.gd b/Shounin/scripts/demo_ashashat.gd index c1f8ce0..9084ebf 100644 --- a/Shounin/scripts/demo_ashashat.gd +++ b/Shounin/scripts/demo_ashashat.gd @@ -20,5 +20,11 @@ func _ready(): if key == "ashashat_key_ejective_k": textField.text = textField.text + "K" return + if key == "ashashat_key_repeat": + textField.text = textField.text + "*" + return + if key == "ashashat_key_duplicant": + textField.text = textField.text + "!" + return textField.text = textField.text + key.trim_prefix("ashashat_key_") )