Home
last modified time | relevance | path

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

/lvgl-3.7.0/examples/widgets/obj/
Dlv_example_obj_1.c11 static lv_style_t style_shadow; in lv_example_obj_1() local
12 lv_style_init(&style_shadow); in lv_example_obj_1()
13 lv_style_set_shadow_width(&style_shadow, 10); in lv_example_obj_1()
14 lv_style_set_shadow_spread(&style_shadow, 5); in lv_example_obj_1()
15 lv_style_set_shadow_color(&style_shadow, lv_palette_main(LV_PALETTE_BLUE)); in lv_example_obj_1()
19 lv_obj_add_style(obj2, &style_shadow, 0); in lv_example_obj_1()
Dlv_example_obj_1.py5 style_shadow = lv.style_t() variable
6 style_shadow.init()
7 style_shadow.set_shadow_width(10)
8 style_shadow.set_shadow_spread(5)
9 style_shadow.set_shadow_color(lv.palette_main(lv.PALETTE.BLUE))
12 obj2.add_style(style_shadow, 0)
/lvgl-3.7.0/examples/widgets/label/
Dlv_example_label_2.c10 static lv_style_t style_shadow; in lv_example_label_2() local
11 lv_style_init(&style_shadow); in lv_example_label_2()
12 lv_style_set_text_opa(&style_shadow, LV_OPA_30); in lv_example_label_2()
13 lv_style_set_text_color(&style_shadow, lv_color_black()); in lv_example_label_2()
17 lv_obj_add_style(shadow_label, &style_shadow, 0); in lv_example_label_2()
Dlv_example_label_2.py6 style_shadow = lv.style_t() variable
7 style_shadow.init()
8 style_shadow.set_text_opa(lv.OPA._30)
9 style_shadow.set_text_color(lv.color_black())
13 shadow_label.add_style(style_shadow, 0)