aboutsummaryrefslogtreecommitdiff
path: root/font.h
blob: 62ef4bf4bbb8fbf4da411420b18ff5d9f4553b70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */