Searched refs:style_btn_red (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.5.0/examples/get_started/ |
D | lv_example_get_started_2.c | 6 static lv_style_t style_btn_red; variable 39 lv_style_init(&style_btn_red); in style_init() 40 lv_style_set_bg_color(&style_btn_red, lv_palette_main(LV_PALETTE_RED)); in style_init() 41 lv_style_set_bg_grad_color(&style_btn_red, lv_palette_lighten(LV_PALETTE_RED, 3)); in style_init() 74 lv_obj_add_style(btn2, &style_btn_red, 0); in lv_example_get_started_2()
|
D | lv_example_get_started_2.py | 5 style_btn_red = lv.style_t() variable 25 style_btn_red.init() 26 style_btn_red.set_bg_color(lv.palette_main(lv.PALETTE.RED)) 27 style_btn_red.set_bg_grad_color(lv.palette_lighten(lv.PALETTE.RED, 2)) 55 btn2.add_style(style_btn_red, 0)
|
/lvgl-3.5.0/docs/overview/ |
D | style.md | 10 For example `style_btn` can result in a default gray button and `style_btn_red` can add only a `bac… 143 static lv_style_t style_btn_red; 144 lv_style_init(&style_btn_red); 145 lv_style_set_bg_color(&style_btn_red, lv_plaette_main(LV_PALETTE_RED)); 146 lv_style_set_bg_opa(&style_btn_red, LV_OPA_COVER);
|
/lvgl-3.5.0/docs/get-started/ |
D | quick-overview.md | 219 For example `style_btn` can set a default button appearance, and `style_btn_red` can overwrite the …
|