Skip to content

Commit

Permalink
🎨 Minor touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
alicerunsonfedora committed Sep 22, 2023
1 parent 297db34 commit e082473
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 11 deletions.
40 changes: 29 additions & 11 deletions Shounin/components/keyboard.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
11 changes: 11 additions & 0 deletions Shounin/demos/ashashat_demo.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 6 additions & 0 deletions Shounin/scripts/demo_ashashat.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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_")
)

0 comments on commit e082473

Please sign in to comment.