Fonts work (mostly)

This commit is contained in:
Dylan Smith
2026-01-09 13:31:10 -05:00
parent caee1f3778
commit 2624b59564
9 changed files with 1558 additions and 8 deletions

13
Core/Inc/graphics/font.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef FONT_H
#define FONT_H
#include "stdint.h"
#include "display.h"
#include "lvgl.h"
uint16_t draw_character(rgb565_pixel_t *framebuffer, const lv_font_t *font, const uint16_t x_loc, const uint16_t y_loc, const uint8_t character, rgb565_pixel_t color);
void draw_string(rgb565_pixel_t *framebuffer, const lv_font_t *font, const uint16_t x_loc, const uint16_t y_loc, const uint8_t *string, rgb565_pixel_t color);
#endif