diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -34,10 +34,10 @@ #define KMSCON_TEXT_H #include <errno.h> +#include <libtsm.h> #include <stdlib.h> #include "font.h" #include "kmscon_module.h" -#include "tsm_screen.h" #include "uterm_video.h" /* text renderer */ @@ -100,13 +100,12 @@ int kmscon_text_draw(struct kmscon_text *txt, int kmscon_text_render(struct kmscon_text *txt); void kmscon_text_abort(struct kmscon_text *txt); -int kmscon_text_prepare_cb(struct tsm_screen *con, void *data); int kmscon_text_draw_cb(struct tsm_screen *con, uint32_t id, const uint32_t *ch, size_t len, unsigned int width, unsigned int posx, unsigned int posy, - const struct tsm_screen_attr *attr, void *data); -int kmscon_text_render_cb(struct tsm_screen *con, void *data); + const struct tsm_screen_attr *attr, + tsm_age_t age, void *data); /* modularized backends */ |