Files
2026-03-25 21:35:22 +03:00

15 lines
473 B
C

#ifndef FONT_DATA_H
#define FONT_DATA_H
#include <stdint.h>
#include <wchar.h>
#include "display/render/context.h"
extern const uint16_t font_width;
extern const uint16_t font_height;
extern const uint8_t font_data[];
void draw_string(render_ctx_t* ctx, uint16_t x, uint16_t y, const wchar_t *str, uint16_t Color);
void draw_char(render_ctx_t* ctx, uint16_t x, uint16_t y, uint8_t wdh, wchar_t c, uint16_t color);
uint8_t get_char_width(wchar_t c);
#endif // FONT_DATA_H