Searched refs:main_cont (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/demos/music/ |
D | lv_demo_music_main.c | 72 static lv_obj_t * main_cont; variable 291 lv_obj_update_layout(main_cont); in _lv_demo_music_main_create() 293 return main_cont; in _lv_demo_music_main_create() 373 main_cont = lv_obj_create(parent); in create_cont() 374 lv_obj_clear_flag(main_cont, LV_OBJ_FLAG_CLICKABLE); in create_cont() 375 lv_obj_clear_flag(main_cont, LV_OBJ_FLAG_SCROLL_ELASTIC); in create_cont() 376 lv_obj_remove_style_all(main_cont); /*Make it transparent*/ in create_cont() 377 lv_obj_set_size(main_cont, lv_pct(100), lv_pct(100)); in create_cont() 378 … lv_obj_set_scroll_snap_y(main_cont, LV_SCROLL_SNAP_CENTER); /*Snap the children to the center*/ in create_cont() 381 lv_obj_t * player = lv_obj_create(main_cont); in create_cont() [all …]
|
/lvgl-3.7.0/src/extra/widgets/menu/ |
D | lv_menu.c | 496 lv_obj_t * main_cont = lv_obj_class_create_obj(&lv_menu_main_cont_class, obj); in lv_menu_constructor() local 497 lv_obj_class_init_obj(main_cont); in lv_menu_constructor() 498 lv_obj_set_height(main_cont, LV_PCT(100)); in lv_menu_constructor() 499 lv_obj_set_flex_grow(main_cont, 1); in lv_menu_constructor() 500 lv_obj_set_flex_flow(main_cont, LV_FLEX_FLOW_COLUMN); in lv_menu_constructor() 501 lv_obj_add_flag(main_cont, LV_OBJ_FLAG_EVENT_BUBBLE); in lv_menu_constructor() 502 lv_obj_clear_flag(main_cont, LV_OBJ_FLAG_CLICKABLE); in lv_menu_constructor() 503 menu->main = main_cont; in lv_menu_constructor() 505 lv_obj_t * main_header = lv_obj_class_create_obj(&lv_menu_main_header_cont_class, main_cont); in lv_menu_constructor()
|