From d806403fe93daa2fb84e2c72aa7660575c33000e Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Sun, 15 Jan 2023 00:18:06 +0100 Subject: Now without tearing and cool rendering --- src/display.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/display.h') diff --git a/src/display.h b/src/display.h index e518b34..9a1cee5 100644 --- a/src/display.h +++ b/src/display.h @@ -1,3 +1,4 @@ +#include #include #include @@ -29,6 +30,7 @@ struct command_list *command_list_create(uint32_t capacity, alloc_fn allocator, uint32_t xoffset, uint32_t yoffset, const char *name); +void command_list_set_show_whitespace(struct command_list *list, bool show); void command_list_set_index_color_bg(struct command_list *list, uint8_t color_idx); void command_list_set_color_bg(struct command_list *list, uint8_t red, @@ -42,3 +44,5 @@ void command_list_draw_text(struct command_list *list, uint32_t col, uint32_t row, uint8_t *data, uint32_t len); void command_list_draw_text_copy(struct command_list *list, uint32_t col, uint32_t row, uint8_t *data, uint32_t len); +void command_list_draw_repeated(struct command_list *list, uint32_t col, + uint32_t row, uint8_t c, uint32_t nrepeat); -- cgit v1.2.3