blob: 525e669312f6fdd3ebb098a43066a405956b87bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <stdint.h>
typedef struct EVEFont {
uint8_t id;
uint8_t w;
uint8_t h;
uint8_t w_ch[128];
} EVEFont;
void eve_font_init(EVEFont *font, uint8_t font_id);
uint16_t eve_font_str_w(EVEFont *font, char *s);
uint16_t eve_font_buf_w(EVEFont *font, char *buf, uint16_t buf_len);
uint8_t eve_font_h(EVEFont *font);
|