diff options
Diffstat (limited to 'font.h')
| -rw-r--r-- | font.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +/* font.h - access to the embedded 8x8 bitmap font. */ +#ifndef MOUSEBOARD_FONT_H +#define MOUSEBOARD_FONT_H + +#define FONT_W 8 +#define FONT_H 8 + +/* + * Return the 8-byte glyph for ASCII character c. Each byte is one row, top to + * bottom; within a row bit 0 (LSB) is the leftmost pixel. Non-printable codes + * return the blank glyph. + */ +const unsigned char *font_glyph(char c); + +#endif /* MOUSEBOARD_FONT_H */ |