lv_theme: integrate into the library
add lv_theme
This commit is contained in:
@@ -70,8 +70,8 @@ lv_obj_t * lv_line_create(lv_obj_t * par, lv_obj_t * copy)
|
||||
|
||||
/*Init the new line*/
|
||||
if(copy == NULL) {
|
||||
lv_obj_set_size(new_line, LV_DPI, LV_DPI);
|
||||
lv_obj_set_style(new_line, &lv_style_plain);
|
||||
lv_obj_set_size(new_line, LV_DPI, LV_DPI); /*Auto size is enables, but set default size until no points are added*/
|
||||
lv_obj_set_style(new_line, NULL); /*Inherit parent's style*/
|
||||
}
|
||||
/*Copy an existing object*/
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user