diff options
| author | Albert Cervin <albert@acervin.com> | 2023-01-15 00:18:06 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-01-15 00:18:06 +0100 |
| commit | d806403fe93daa2fb84e2c72aa7660575c33000e (patch) | |
| tree | cc3b31f02cd4ef77b73168d0693338e9a48f207f /src/display.h | |
| parent | fd8ecb6d0f9af3245e8b1a662987b8cf4e89dec9 (diff) | |
| download | dged-d806403fe93daa2fb84e2c72aa7660575c33000e.tar.gz dged-d806403fe93daa2fb84e2c72aa7660575c33000e.tar.xz dged-d806403fe93daa2fb84e2c72aa7660575c33000e.zip | |
Now without tearing and cool rendering
Diffstat (limited to 'src/display.h')
| -rw-r--r-- | src/display.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdbool.h> #include <stddef.h> #include <stdint.h> @@ -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); |
