Home
last modified time | relevance | path

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

/lvgl-3.7.0/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_img_src(&style_indic, &img_skew_strip); in lv_example_bar_4()
14 lv_style_set_bg_img_tiled(&style_indic, true); in lv_example_bar_4()
15 lv_style_set_bg_img_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()
Dlv_example_bar_3.py9 style_indic = lv.style_t() variable
11 style_indic.init()
12 style_indic.set_bg_opa(lv.OPA.COVER)
13 style_indic.set_bg_color(lv.palette_main(lv.PALETTE.RED))
14 style_indic.set_bg_grad_color(lv.palette_main(lv.PALETTE.BLUE))
15 style_indic.set_bg_grad_dir(lv.GRAD_DIR.VER)
18 bar.add_style(style_indic, lv.PART.INDICATOR)
Dlv_example_bar_2.py5 style_indic = lv.style_t() variable
14 style_indic.init()
15 style_indic.set_bg_opa(lv.OPA.COVER)
16 style_indic.set_bg_color(lv.palette_main(lv.PALETTE.BLUE))
17 style_indic.set_radius(3)
22 bar.add_style(style_indic, lv.PART.INDICATOR)
Dlv_example_bar_4.py28 style_indic = lv.style_t() variable
30 style_indic.init()
31 style_indic.set_bg_img_src(img_skew_strip_dsc)
32 style_indic.set_bg_img_tiled(True)
33 style_indic.set_bg_img_opa(lv.OPA._30)
36 bar.add_style(style_indic, lv.PART.INDICATOR)
/lvgl-3.7.0/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()
Dlv_example_style_13.py5 style_indic = lv.style_t() variable
6 style_indic.init()
7 style_indic.set_bg_color(lv.palette_lighten(lv.PALETTE.RED, 3))
8 style_indic.set_bg_grad_color(lv.palette_main(lv.PALETTE.RED))
9 style_indic.set_bg_grad_dir(lv.GRAD_DIR.HOR)
19 obj.add_style(style_indic, lv.PART.INDICATOR)