mirror of
https://github.com/lvgl/lvgl.git
synced 2026-09-24 07:24:57 +08:00
feat(color): use colors from material design
Use function instead of color macros
This commit is contained in:
@@ -12,7 +12,7 @@ void lv_example_obj_1(void)
|
||||
lv_style_init(&style_shadow);
|
||||
lv_style_set_shadow_width(&style_shadow, 10);
|
||||
lv_style_set_shadow_spread(&style_shadow, 5);
|
||||
lv_style_set_shadow_color(&style_shadow, LV_COLOR_BLUE);
|
||||
lv_style_set_shadow_color(&style_shadow, lv_color_blue());
|
||||
|
||||
lv_obj_t * obj3;
|
||||
obj3 = lv_obj_create(lv_scr_act(), NULL);
|
||||
|
||||
Reference in New Issue
Block a user