1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
34
35
38
39
42
43
46
47
50
51
56
57
58
59
60
61
62
65
66
69
70
71
74
75
78
81
82
85
88
89
90
91
92
93
94
95
98
99
102
103
106
107
110
111
114
/* ... */
#ifndef __FONTS_H
#define __FONTS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
typedef struct _tFont
{
const uint8_t *table;
uint16_t Width;
uint16_t Height;
...} sFONT;
extern sFONT Font24;
extern sFONT Font20;
extern sFONT Font16;
extern sFONT Font12;
extern sFONT Font8;
/* ... */
/* ... */
#define LINE(x) ((x) * (((sFONT *)BSP_LCD_GetFont())->Height))
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
#ifdef __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */