todo_0.2.txt 501 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. TODO:
  2. ------
  3. - repl as struct
  4. - scrolling in repl
  5. - paint
  6. paint-window
  7. paint moved window
  8. paint call with rectangle?
  9. paint call width, height
  10. resize call width/height
  11. paint call
  12. render to a surface
  13. (struct surface
  14. pixels []
  15. width 0
  16. height 0
  17. shift 4
  18. pitch 0)
  19. (defn make-surface w h)
  20. (blit-str surface font x y "hello!")
  21. (blit surf-dest surf-src x y w h)
  22. ------------------
  23. (bind mystruct)
  24. -> registers all of mystruct fields as local vars (lets)