すくすくゴートうちゃん Android 版(黒歴史)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

keyboard.mod.hsp 464 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #module \
  2. Keyboard
  3. #deffunc local \
  4. Show
  5. showing = True
  6. text = ""
  7. Return
  8. #deffunc local \
  9. Hide
  10. showing = False
  11. Return
  12. #defcfunc local \
  13. GetChar
  14. if showing = False {
  15. Return ""
  16. }
  17. ; text += charDict
  18. Return ""
  19. #deffunc local \
  20. Draw
  21. If showing = False {
  22. Return
  23. }
  24. Color COLOUR_BLACK
  25. BoxF 0, 1920 - 480, 1080, 1920
  26. Repeat 50
  27. Pos 1080 - 96 * (cnt / 5 + 1), 1920 - 480 + 96 * (cnt \ 5)
  28. CelPut BUFFER_CHAR, cnt, 3, 3
  29. Loop
  30. Return
  31. #global