mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
minor fixes
This commit is contained in:
parent
679419b151
commit
d7232be181
@ -1200,7 +1200,9 @@ void lv_obj_set_ext_click_area(lv_obj_t * obj, lv_coord_t left, lv_coord_t right
|
||||
void lv_obj_set_style(lv_obj_t * obj, const lv_style_t * style)
|
||||
{
|
||||
LV_ASSERT_OBJ(obj, LV_OBJX_NAME);
|
||||
LV_ASSERT_STYLE(style);
|
||||
if(style) {
|
||||
LV_ASSERT_STYLE(style);
|
||||
}
|
||||
|
||||
obj->style_p = style;
|
||||
|
||||
|
@ -27,7 +27,7 @@ extern "C" {
|
||||
* DEFINES
|
||||
*********************/
|
||||
#ifndef LV_DRAW_BUF_MAX_NUM
|
||||
#define LV_DRAW_BUF_MAX_NUM 12
|
||||
#define LV_DRAW_BUF_MAX_NUM 16
|
||||
#endif
|
||||
|
||||
/**********************
|
||||
|
@ -127,9 +127,9 @@ static void label_init(void)
|
||||
{
|
||||
#if LV_USE_LABEL != 0
|
||||
|
||||
theme.style.label.prim = NULL;
|
||||
theme.style.label.sec = NULL;
|
||||
theme.style.label.hint = NULL;
|
||||
theme.style.label.prim = &light_plain;
|
||||
theme.style.label.sec = &light_plain;
|
||||
theme.style.label.hint = &light_plain;
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -145,7 +145,7 @@ static void img_init(void)
|
||||
static void line_init(void)
|
||||
{
|
||||
#if LV_USE_LINE != 0
|
||||
theme.style.line.decor = NULL;
|
||||
theme.style.line.decor = &light_plain;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user