删除LVGL,屏幕驱动测试完成
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
uint16_t color;
|
||||
uint16_t count;
|
||||
} lcd_direct_rle_run_t;
|
||||
|
||||
typedef struct {
|
||||
const lcd_direct_rle_run_t *runs;
|
||||
uint32_t run_count;
|
||||
} lcd_direct_image_t;
|
||||
|
||||
typedef struct {
|
||||
const lcd_direct_rle_run_t *runs;
|
||||
uint32_t run_count;
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
} lcd_direct_icon_t;
|
||||
|
||||
typedef struct {
|
||||
uint16_t icon_id;
|
||||
uint16_t x;
|
||||
uint16_t y;
|
||||
} lcd_direct_icon_draw_t;
|
||||
|
||||
#define LCD_DIRECT_NO_ICON 0xFFFFU
|
||||
#define LCD_DIRECT_DEFAULT_ICON_COUNT 5U
|
||||
|
||||
const lcd_direct_image_t *lcd_direct_default_image(void);
|
||||
const lcd_direct_icon_t *lcd_direct_icon(uint16_t icon_id);
|
||||
const lcd_direct_icon_draw_t *lcd_direct_default_icon_sequence(size_t *out_count);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user