improve theme_t

This commit is contained in:
lixianjing 2021-02-01 11:13:35 +08:00
parent 3fff4e9a5b
commit dc784d4dd5
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2021/02/01
* 修复theme\_t重定义的问题感谢雨欣提供补丁
2021/01/31
* 增加文档 [应用程序的类型](app_type.md)

View File

@ -47,7 +47,7 @@ typedef const char* (*theme_get_style_type_t)(theme_t* theme);
* 便style\_const
*
*/
typedef struct _theme_t {
struct _theme_t {
const uint8_t* data;
theme_find_style_t find_style;
@ -55,7 +55,7 @@ typedef struct _theme_t {
theme_set_theme_data_t set_style_data;
theme_get_style_type_t get_style_type;
} theme_t;
};
/**
* @method theme