refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state
This commit is contained in:
@@ -21,7 +21,7 @@ void lv_example_bar_2(void)
|
||||
lv_style_set_bg_color(&style_indic, lv_palette_main(LV_PALETTE_BLUE));
|
||||
lv_style_set_radius(&style_indic, 3);
|
||||
|
||||
lv_obj_t * bar = lv_bar_create(lv_scr_act());
|
||||
lv_obj_t * bar = lv_bar_create(lv_screen_active());
|
||||
lv_obj_remove_style_all(bar); /*To have a clean start*/
|
||||
lv_obj_add_style(bar, &style_bg, 0);
|
||||
lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR);
|
||||
|
||||
Reference in New Issue
Block a user