Home
last modified time | relevance | path

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

/lvgl-latest/examples/widgets/bar/
Dlv_example_bar_3.c14 static lv_style_t style_indic; in lv_example_bar_3() local
16 lv_style_init(&style_indic); in lv_example_bar_3()
17 lv_style_set_bg_opa(&style_indic, LV_OPA_COVER); in lv_example_bar_3()
18 lv_style_set_bg_color(&style_indic, lv_palette_main(LV_PALETTE_RED)); in lv_example_bar_3()
19 lv_style_set_bg_grad_color(&style_indic, lv_palette_main(LV_PALETTE_BLUE)); in lv_example_bar_3()
20 lv_style_set_bg_grad_dir(&style_indic, LV_GRAD_DIR_VER); in lv_example_bar_3()
23 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_3()
Dlv_example_bar_4.c10 static lv_style_t style_indic; in lv_example_bar_4() local
12 lv_style_init(&style_indic); in lv_example_bar_4()
13 lv_style_set_bg_image_src(&style_indic, &img_skew_strip); in lv_example_bar_4()
14 lv_style_set_bg_image_tiled(&style_indic, true); in lv_example_bar_4()
15 lv_style_set_bg_image_opa(&style_indic, LV_OPA_30); in lv_example_bar_4()
18 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_4()
Dlv_example_bar_2.c10 static lv_style_t style_indic; in lv_example_bar_2() local
19 lv_style_init(&style_indic); in lv_example_bar_2()
20 lv_style_set_bg_opa(&style_indic, LV_OPA_COVER); in lv_example_bar_2()
21 lv_style_set_bg_color(&style_indic, lv_palette_main(LV_PALETTE_BLUE)); in lv_example_bar_2()
22 lv_style_set_radius(&style_indic, 3); in lv_example_bar_2()
27 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_2()
/lvgl-latest/examples/styles/
Dlv_example_style_13.c9 static lv_style_t style_indic; in lv_example_style_13() local
10 lv_style_init(&style_indic); in lv_example_style_13()
11 lv_style_set_bg_color(&style_indic, lv_palette_lighten(LV_PALETTE_RED, 3)); in lv_example_style_13()
12 lv_style_set_bg_grad_color(&style_indic, lv_palette_main(LV_PALETTE_RED)); in lv_example_style_13()
13 lv_style_set_bg_grad_dir(&style_indic, LV_GRAD_DIR_HOR); in lv_example_style_13()
23 lv_obj_add_style(obj, &style_indic, LV_PART_INDICATOR); in lv_example_style_13()