]> git.karo-electronics.de Git - oswald.git/blob - ui/oswald_fonts.h
Shorten charger plug "tail"
[oswald.git] / ui / oswald_fonts.h
1 #ifndef _FONTS_H
2 #define _FONTS_H
3
4 #include "oswald.h"
5
6 typedef enum {
7         FONT_TYPE_MONOSPACE = 0,
8         FONT_TYPE_PROPORTIONAL,
9 } oswald_font_type;
10
11 typedef enum {
12         FONT_LCD8x13 = 0,
13         FONT_LCD13x21,
14         FONT_5x7,
15         FONT_6x9,
16         FONT_DROID8x12,
17         FONT_DROID11x14b,
18         LAST_FONT
19 } oswald_font_face;
20
21 typedef struct {
22         oswald_font_type font_type;
23         uint8_t width;
24         uint8_t height;
25         uint8_t *data;
26 } oswald_font;
27
28 extern const oswald_font oswald_fonts[];
29
30 #endif