]> git.karo-electronics.de Git - oswald.git/blob - ui/oswald_fonts.h
Starting to get rid of borrowed code (LcdDisplay, Fonts), integrate
[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_4x6 = 0,
8 //      FONT_5x8 = 0,
9 //      FONT_5x12,
10         FONT_6x8 = 0,
11 //      FONT_6x10,
12 //      FONT_7x12,
13         FONT_7x12b,
14 //      FONT_8x8,
15 //      FONT_8x12,
16 //      FONT_8x14,
17 //      FONT_10x16,
18 //      FONT_12x16,
19 //      FONT_12x20,
20         FONT_16x26,
21 //      FONT_22x36,
22 //      FONT_24x40,
23 //      FONT_32x53,
24         LAST_FONT
25 } oswald_font_face;
26
27 typedef struct {
28         uint8_t width;
29         uint8_t height;
30         uint8_t *data;
31 } oswald_font;
32
33 extern const oswald_font oswald_fonts[];
34
35 #endif