refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state
This commit is contained in:
@@ -14,7 +14,7 @@ void lv_example_bar_4(void)
|
||||
lv_style_set_bg_image_tiled(&style_indic, true);
|
||||
lv_style_set_bg_image_opa(&style_indic, LV_OPA_30);
|
||||
|
||||
lv_obj_t * bar = lv_bar_create(lv_scr_act());
|
||||
lv_obj_t * bar = lv_bar_create(lv_screen_active());
|
||||
lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR);
|
||||
|
||||
lv_obj_set_size(bar, 260, 20);
|
||||
|
||||
Reference in New Issue
Block a user