add lcd image icon rendering
This commit is contained in:
@@ -5,9 +5,22 @@
|
||||
|
||||
#define EYE_IMAGE_WIDTH 320
|
||||
#define EYE_IMAGE_HEIGHT 240
|
||||
#define EYE_IMAGE_FRAME_COUNT 15
|
||||
#define EYE_IMAGE_SOURCE_COUNT 27
|
||||
|
||||
extern const uint16_t eye_image[EYE_IMAGE_FRAME_COUNT][EYE_IMAGE_WIDTH * EYE_IMAGE_HEIGHT];
|
||||
extern const uint16_t eye_image_delay_ms[EYE_IMAGE_FRAME_COUNT];
|
||||
typedef struct {
|
||||
uint16_t color;
|
||||
uint16_t count;
|
||||
} rle_structure_t;
|
||||
|
||||
typedef struct {
|
||||
const rle_structure_t *runs;
|
||||
uint32_t run_count;
|
||||
} eye_image_frame_t;
|
||||
|
||||
typedef struct {
|
||||
const eye_image_frame_t *frames;
|
||||
uint16_t frame_count;
|
||||
} eye_image_source_t;
|
||||
|
||||
extern const eye_image_source_t eye_image_sources[EYE_IMAGE_SOURCE_COUNT];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user