debugrun.lua 866 B

123456789101112131415161718192021222324252627282930
  1. function _auto_init()
  2. api.showkeyboard(true)
  3. api.points(1,1, 192,1, 192,128, 1,128, 8)
  4. api.points(0,1, 193,1, 193,128, 0,128, 3)
  5. api.points(1,0, 192,0, 192,129, 1,129, 3)
  6. api.rect_line(2,2, 190,126, 12)
  7. --api.line(2,2,191,2,191,127,2,127,2,2,12)
  8. api.line(2,2, 191,127, 9)
  9. api.line(191, 2,2,127, 9)
  10. --api.rect(10,10,10,10,9)
  11. api.Image(api.ImageData(10,10):map(function() return 13 end)):draw(10,10)
  12. api.rect(10,42,10,10,9)
  13. api.rect(10,30,10,10,9)
  14. api.rect_line(10,30,10,10,8)
  15. api.points(10,10, 10,19, 19,19, 19,10, 8)
  16. api.color(8)
  17. api.print_grid("0 TEST",1,1)
  18. end
  19. function _auto_update() end
  20. function _auto_tpress() end
  21. function _auto_tmove() end
  22. function _auto_trelease() end
  23. function _auto_mpress() end
  24. function _auto_mmove() end
  25. function _auto_mrelease() end
  26. function _auto_tinput() end
  27. function _auto_kpress() end
  28. function _auto_krelease() end