62 lines
1.6 KiB
C
62 lines
1.6 KiB
C
|
|
#ifndef __DRV_ILI9341_LCD_IMAGE_CHARGE_PCT_H
|
||
|
|
#define __DRV_ILI9341_LCD_IMAGE_CHARGE_PCT_H
|
||
|
|
|
||
|
|
#include "stdint.h"
|
||
|
|
|
||
|
|
#define CHARGE_PCT_GLYPH_H 20
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT0_W 14
|
||
|
|
#define CHARGE_DIGIT0_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit0_14x20[560];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT1_W 9
|
||
|
|
#define CHARGE_DIGIT1_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit1_9x20[360];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT2_W 13
|
||
|
|
#define CHARGE_DIGIT2_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit2_13x20[520];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT3_W 13
|
||
|
|
#define CHARGE_DIGIT3_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit3_13x20[520];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT4_W 14
|
||
|
|
#define CHARGE_DIGIT4_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit4_14x20[560];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT5_W 13
|
||
|
|
#define CHARGE_DIGIT5_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit5_13x20[520];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT6_W 13
|
||
|
|
#define CHARGE_DIGIT6_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit6_13x20[520];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT7_W 12
|
||
|
|
#define CHARGE_DIGIT7_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit7_12x20[480];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT8_W 14
|
||
|
|
#define CHARGE_DIGIT8_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit8_14x20[560];
|
||
|
|
|
||
|
|
#define CHARGE_DIGIT9_W 13
|
||
|
|
#define CHARGE_DIGIT9_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Digit9_13x20[520];
|
||
|
|
|
||
|
|
#define CHARGE_PCT_W 18
|
||
|
|
#define CHARGE_PCT_H 20
|
||
|
|
extern const unsigned char gImage_Charge_Pct_18x20[720];
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
const unsigned char *data;
|
||
|
|
uint8_t w;
|
||
|
|
uint8_t h;
|
||
|
|
} ChargePctGlyph;
|
||
|
|
|
||
|
|
extern const ChargePctGlyph g_ChargePctDigits[10];
|
||
|
|
extern const ChargePctGlyph g_ChargePctPercent;
|
||
|
|
|
||
|
|
#endif
|