From f622bf0d79a7460cb160207bcd75f257deb872ea Mon Sep 17 00:00:00 2001 From: Aleksa Vuckovic Date: Thu, 4 Aug 2022 09:00:14 +0200 Subject: drawing characters to fb; fixed draw_line --- include/graphics.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/graphics.h') diff --git a/include/graphics.h b/include/graphics.h index d00e8d8..84505d8 100644 --- a/include/graphics.h +++ b/include/graphics.h @@ -28,5 +28,7 @@ void fb_draw_pixel(fb_t fb, uint32_t x, uint32_t y, uint32_t col); void fb_draw_line_low(fb_t fb, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, uint32_t col); void fb_draw_line_high(fb_t fb, int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t col); void fb_draw_line(fb_t fb, int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t col); +void fb_draw_character(fb_t fb, char c, uint32_t x, uint32_t y, uint32_t char_col, uint32_t bg_col); +void fb_draw_string(fb_t fb, const char* str, uint32_t x, uint32_t y, uint32_t char_col, uint32_t bg_col); #endif -- cgit v1.2.3