summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/screen/font.h
blob: 7de3ff5a9d168c8449f79dd166f6f8718e66987f (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_strw(EVEFont *font, char *s);
uint16_t eve_font_bufw(EVEFont *font, char *buf, uint16_t buf_len);
uint8_t eve_font_h(EVEFont *font);