Searched refs:color_cont (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.4.0/demos/widgets/ |
D | lv_demo_widgets.c | 953 lv_obj_t * color_cont = lv_obj_create(parent); in color_changer_create() local 954 lv_obj_remove_style_all(color_cont); in color_changer_create() 955 lv_obj_set_flex_flow(color_cont, LV_FLEX_FLOW_ROW); in color_changer_create() 956 …lv_obj_set_flex_align(color_cont, LV_FLEX_ALIGN_SPACE_EVENLY, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_… in color_changer_create() 957 lv_obj_add_flag(color_cont, LV_OBJ_FLAG_FLOATING); in color_changer_create() 959 lv_obj_set_style_bg_color(color_cont, lv_color_white(), 0); in color_changer_create() 960 lv_obj_set_style_pad_right(color_cont, disp_size == DISP_SMALL ? LV_DPX(47) : LV_DPX(55), 0); in color_changer_create() 961 lv_obj_set_style_bg_opa(color_cont, LV_OPA_COVER, 0); in color_changer_create() 962 lv_obj_set_style_radius(color_cont, LV_RADIUS_CIRCLE, 0); in color_changer_create() 964 if(disp_size == DISP_SMALL) lv_obj_set_size(color_cont, LV_DPX(52), LV_DPX(52)); in color_changer_create() [all …]
|