text.h 356 B

1234567891011121314
  1. #ifndef __LIB_TEXT_H
  2. #define __LIB_TEXT_H
  3. #include <lib/font.h>
  4. /* super cheezy mechanism to stick lines of text up on top of whatever is being drawn */
  5. /* XXX replace with something more generic later */
  6. void text_draw(int x, int y, const char *string);
  7. /* super dumb, someone has to call this to refresh everything */
  8. void text_update(void);
  9. #endif