Home
last modified time | relevance | path

Searched refs:color_cont (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.5.0/demos/widgets/
Dlv_demo_widgets.c969 lv_obj_t * color_cont = lv_obj_create(parent); in color_changer_create() local
970 lv_obj_remove_style_all(color_cont); in color_changer_create()
971 lv_obj_set_flex_flow(color_cont, LV_FLEX_FLOW_ROW); in color_changer_create()
972 …lv_obj_set_flex_align(color_cont, LV_FLEX_ALIGN_SPACE_EVENLY, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_… in color_changer_create()
973 lv_obj_add_flag(color_cont, LV_OBJ_FLAG_FLOATING); in color_changer_create()
975 lv_obj_set_style_bg_color(color_cont, lv_color_white(), 0); in color_changer_create()
976 lv_obj_set_style_pad_right(color_cont, disp_size == DISP_SMALL ? LV_DPX(47) : LV_DPX(55), 0); in color_changer_create()
977 lv_obj_set_style_bg_opa(color_cont, LV_OPA_COVER, 0); in color_changer_create()
978 lv_obj_set_style_radius(color_cont, LV_RADIUS_CIRCLE, 0); in color_changer_create()
980 if(disp_size == DISP_SMALL) lv_obj_set_size(color_cont, LV_DPX(52), LV_DPX(52)); in color_changer_create()
[all …]