GPS Tracker with a TFT display, GPLV3
Dependencies: MAX17055 MAX32620FTHR MAX77650 SerialGPS
Diff: fonts.h
- Revision:
- 0:48d0ba737b93
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fonts.h Sat Aug 18 22:34:58 2018 +0000 @@ -0,0 +1,40 @@ + +/* Define to prevent recursive inclusion -------------------------------------*/ +#ifndef __FONTS_H +#define __FONTS_H + + +/* Includes ------------------------------------------------------------------*/ +#include <stdint.h> + +/* Max size of bitmap will based on a font24 (17x24) */ +#define MAX_HEIGHT_FONT 24 +#define MAX_WIDTH_FONT 17 +#define OFFSET_BITMAP 54 + + +typedef struct _tFont +{ + const uint8_t *table; + uint16_t Width; + uint16_t Height; + +} sFONT; + +//#include "font8.h" +//#include "font12.h" +//#include "font16.h" +//#include "font20.h" +//#include "font24.h" + + +extern sFONT Font24; +extern sFONT Font20; +extern sFONT Font16; +extern sFONT Font12; +extern sFONT Font8; + + + +#endif /* __FONTS_H */ +