Home
last modified time | relevance | path

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

/lvgl-latest/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()
/lvgl-latest/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()