refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
void lv_example_tileview_1(void)
|
||||
{
|
||||
lv_obj_t * tv = lv_tileview_create(lv_scr_act());
|
||||
lv_obj_t * tv = lv_tileview_create(lv_screen_active());
|
||||
|
||||
/*Tile1: just a label*/
|
||||
lv_obj_t * tile1 = lv_tileview_add_tile(tv, 0, 0, LV_DIR_BOTTOM);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Demonstrate scroll chaining with a long list that
|
||||
# scrolls the tile view when it can't be scrolled further.
|
||||
#
|
||||
tv = lv.tileview(lv.scr_act())
|
||||
tv = lv.tileview(lv.screen_active())
|
||||
|
||||
# Tile1: just a label
|
||||
tile1 = tv.add_tile(0, 0, lv.DIR.BOTTOM)
|
||||
|
||||
Reference in New Issue
Block a user