STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
fonts.h
Go to the documentation of this file.
1 
38 /* Define to prevent recursive inclusion -------------------------------------*/
39 #ifndef __FONTS_H
40 #define __FONTS_H
41 
42 #ifdef __cplusplus
43  extern "C" {
44 #endif
45 
46 /* Includes ------------------------------------------------------------------*/
47 #include <stdint.h>
48 
68 typedef struct _tFont
69 {
70  const uint8_t *table;
71  uint16_t Width;
72  uint16_t Height;
73 
74 } sFONT;
75 
76 extern sFONT Font24;
77 extern sFONT Font20;
78 extern sFONT Font16;
79 extern sFONT Font12;
80 extern sFONT Font8;
88 #define LINE(x) ((x) * (((sFONT *)BSP_LCD_GetFont())->Height))
89 
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 #endif /* __FONTS_H */
113 
134 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
uint16_t Width
Definition: fonts.h:71
struct _tFont sFONT
Definition: fonts.h:68
sFONT Font16
Definition: font16.c:1802
sFONT Font20
Definition: font20.c:2181
sFONT Font12
Definition: font12.c:1422
const uint8_t * table
Definition: fonts.h:70
sFONT Font8
Definition: font8.c:1042
sFONT Font24
Definition: font24.c:2558
uint16_t Height
Definition: fonts.h:72