diff --git a/cucul/canvas.c b/cucul/canvas.c index 2a0dd0d..a05ceb5 100644 --- a/cucul/canvas.c +++ b/cucul/canvas.c @@ -171,24 +171,6 @@ void cucul_printf(cucul_t *qq, int x, int y, char const *format, ...) free(buf); } -/** \brief Get the screen. - * - * This function fills a byte array with the character values. - */ -void cucul_get_screen(cucul_t const *qq, char *buffer) -{ - unsigned int x, y; - - for(y = 0; y < qq->height; y++) - { - for(x = 0; x < qq->width; x++) - { - *buffer++ = qq->attr[x + y * qq->width]; - *buffer++ = qq->chars[x + y * qq->width] & 0x7f; /* FIXME: ASCII */ - } - } -} - /** \brief Clear the screen. * * This function clears the screen using a black background. diff --git a/cucul/cucul.h b/cucul/cucul.h index 91fd01d..adc6eb0 100644 --- a/cucul/cucul.h +++ b/cucul/cucul.h @@ -82,7 +82,6 @@ char const *cucul_get_color_name(enum cucul_color); void cucul_putchar(cucul_t *, int, int, char); void cucul_putstr(cucul_t *, int, int, char const *); void cucul_printf(cucul_t *, int, int, char const *, ...); -void cucul_get_screen(cucul_t const *, char *); void cucul_clear(cucul_t *); void cucul_blit(cucul_t *, int, int, cucul_t const *, cucul_t const *); /* @} */