Font is displayed correctly

This commit is contained in:
Stanislav N Mikhailov
2025-01-01 18:07:19 +03:00
parent 7b87f90ae8
commit 3cdfa81da8
5 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -2,11 +2,11 @@
#define FONT_DATA_H
#include <stdint.h>
#include <wchar.h>
extern const uint16_t font_width;
extern const uint16_t font_height;
extern const uint8_t font_data[];
void draw_string(uint16_t x, uint16_t y, const char *str);
void draw_char(uint8_t x, uint8_t y, char c);
void draw_string(uint16_t x, uint16_t y, const wchar_t *str);
void draw_char(uint16_t x, uint16_t y, wchar_t c);
#endif // FONT_DATA_H