mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve theme_t
This commit is contained in:
parent
3fff4e9a5b
commit
dc784d4dd5
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2021/02/01
|
||||
* 修复theme\_t重定义的问题(感谢雨欣提供补丁)。
|
||||
|
||||
2021/01/31
|
||||
* 增加文档 [应用程序的类型](app_type.md)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user