Searched refs:style_shadow (Results 1 – 2 of 2) sorted by relevance
11 static lv_style_t style_shadow; in lv_example_obj_1() local12 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()
10 static lv_style_t style_shadow; in lv_example_label_2() local11 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()