Home
last modified time | relevance | path

Searched refs:lv_theme_t (Results 1 – 12 of 12) sorted by relevance

/lvgl-3.4.0/src/core/
Dlv_theme.c22 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 …]
Dlv_theme.h42 } 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);
Dlv_disp.h86 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);
Dlv_disp.c136 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/
Dlv_example_style_14.c9 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/
Dlv_theme_default.h39 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);
Dlv_theme_default.c154 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/
Dlv_theme_basic.h37 lv_theme_t * lv_theme_basic_init(lv_disp_t * disp);
Dlv_theme_basic.c51 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/
Dlv_theme_mono.h39 lv_theme_t * lv_theme_mono_init(lv_disp_t * disp, bool dark_bg, const lv_font_t * font);
Dlv_theme_mono.c60 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/
Dstyle.md287 lv_theme_t * th = lv_theme_default_init(display, /*Use the DPI, size, etc from this display*/