Searched refs:lv_theme_t (Results 1 – 12 of 12) sorted by relevance
/lvgl-3.4.0/src/core/ |
D | lv_theme.c | 22 static void apply_theme(lv_theme_t * th, lv_obj_t * obj); 36 lv_theme_t * lv_theme_get_from_obj(lv_obj_t * obj) in lv_theme_get_from_obj() 49 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_apply() 64 void lv_theme_set_parent(lv_theme_t * new_theme, lv_theme_t * base) in lv_theme_set_parent() 75 void lv_theme_set_apply_cb(lv_theme_t * theme, lv_theme_apply_cb_t apply_cb) in lv_theme_set_apply_cb() 82 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_font_small() 88 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_font_normal() 94 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_font_large() 100 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_color_primary() 106 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_color_secondary() [all …]
|
D | lv_theme.h | 42 } lv_theme_t; typedef 53 lv_theme_t * lv_theme_get_from_obj(lv_obj_t * obj); 68 void lv_theme_set_parent(lv_theme_t * new_theme, lv_theme_t * parent); 76 void lv_theme_set_apply_cb(lv_theme_t * theme, lv_theme_apply_cb_t apply_cb);
|
D | lv_disp.h | 86 void lv_disp_set_theme(lv_disp_t * disp, lv_theme_t * th); 93 lv_theme_t * lv_disp_get_theme(lv_disp_t * disp);
|
D | lv_disp.c | 136 void lv_disp_set_theme(lv_disp_t * disp, lv_theme_t * th) in lv_disp_set_theme() 153 lv_theme_t * lv_disp_get_theme(lv_disp_t * disp) in lv_disp_get_theme()
|
/lvgl-3.4.0/examples/styles/ |
D | lv_example_style_14.c | 9 static void new_theme_apply_cb(lv_theme_t * th, lv_obj_t * obj) in new_theme_apply_cb() 27 lv_theme_t * th_act = lv_disp_get_theme(NULL); in new_theme_init_and_set() 28 static lv_theme_t th_new; in new_theme_init_and_set()
|
/lvgl-3.4.0/src/extra/themes/default/ |
D | lv_theme_default.h | 39 lv_theme_t * lv_theme_default_init(lv_disp_t * disp, lv_color_t color_primary, lv_color_t color_sec… 46 lv_theme_t * lv_theme_default_get(void);
|
D | lv_theme_default.c | 154 lv_theme_t base; 167 static void theme_apply(lv_theme_t * th, lv_obj_t * obj); 174 static lv_theme_t theme; 642 lv_theme_t * lv_theme_default_init(lv_disp_t * disp, lv_color_t color_primary, lv_color_t color_sec… in lv_theme_default_init() 674 return (lv_theme_t *)&theme; in lv_theme_default_init() 677 lv_theme_t * lv_theme_default_get(void) in lv_theme_default_get() 683 return (lv_theme_t *)&theme; in lv_theme_default_get() 692 static void theme_apply(lv_theme_t * th, lv_obj_t * obj) in theme_apply()
|
/lvgl-3.4.0/src/extra/themes/basic/ |
D | lv_theme_basic.h | 37 lv_theme_t * lv_theme_basic_init(lv_disp_t * disp);
|
D | lv_theme_basic.c | 51 static void theme_apply(lv_theme_t * th, lv_obj_t * obj); 57 static lv_theme_t theme; 144 lv_theme_t * lv_theme_basic_init(lv_disp_t * disp) in lv_theme_basic_init() 170 return (lv_theme_t *)&theme; in lv_theme_basic_init() 174 static void theme_apply(lv_theme_t * th, lv_obj_t * obj) in theme_apply()
|
/lvgl-3.4.0/src/extra/themes/mono/ |
D | lv_theme_mono.h | 39 lv_theme_t * lv_theme_mono_init(lv_disp_t * disp, bool dark_bg, const lv_font_t * font);
|
D | lv_theme_mono.c | 60 static void theme_apply(lv_theme_t * th, lv_obj_t * obj); 66 static lv_theme_t theme; 172 lv_theme_t * lv_theme_mono_init(lv_disp_t * disp, bool dark_bg, const lv_font_t * font) in lv_theme_mono_init() 196 return (lv_theme_t *)&theme; in lv_theme_mono_init() 200 static void theme_apply(lv_theme_t * th, lv_obj_t * obj) in theme_apply()
|
/lvgl-3.4.0/docs/overview/ |
D | style.md | 287 lv_theme_t * th = lv_theme_default_init(display, /*Use the DPI, size, etc from this display*/
|