mirror of https://github.com/arendst/Tasmota.git
Merge pull request #13571 from s-hadinger/lvgl_theme_mono
LVGL add theme mono
This commit is contained in:
commit
c8c0da01f3
|
@ -99,6 +99,7 @@ const lvbe_call_c_t lv_func[] = {
|
|||
{ "theme_get_font_normal", (void*) &lv_theme_get_font_normal, "lv.lv_font", "(lv.lv_obj)" },
|
||||
{ "theme_get_font_small", (void*) &lv_theme_get_font_small, "lv.lv_font", "(lv.lv_obj)" },
|
||||
{ "theme_get_from_obj", (void*) &lv_theme_get_from_obj, "lv.lv_theme", "(lv.lv_obj)" },
|
||||
{ "theme_mono_init", (void*) &lv_theme_mono_init, "lv.lv_theme", "(lv.lv_disp)b(lv.lv_font)" },
|
||||
{ "theme_openhasp_init", (void*) &lv_theme_openhasp_init, "lv.lv_theme", "(lv.lv_disp)(lv.lv_color)(lv.lv_color)b(lv.lv_font)" },
|
||||
{ "theme_openhasp_is_inited", (void*) &lv_theme_openhasp_is_inited, "b", "" },
|
||||
{ "theme_set_apply_cb", (void*) &lv_theme_set_apply_cb, "", "(lv.lv_theme)^lv_theme_apply_cb^" },
|
||||
|
|
|
@ -501,6 +501,9 @@ void lv_draw_polygon(const lv_point_t points[], uint16_t point_cnt, const lv_are
|
|||
lv_theme_t * lv_theme_default_init(lv_disp_t * disp, lv_color_t color_primary, lv_color_t color_secondary, bool dark, const lv_font_t * font)
|
||||
bool lv_theme_default_is_inited(void)
|
||||
|
||||
// ../../lib/libesp32_lvgl/LVGL8/src/extra/themes/mono/lv_theme_mono.h
|
||||
lv_theme_t * lv_theme_mono_init(lv_disp_t * disp, bool dark_bg, const lv_font_t * font)
|
||||
|
||||
// ../../lib/libesp32_lvgl/LVGL8/src/extra/widgets/chart/lv_chart.h
|
||||
lv_obj_t * lv_chart_create(lv_obj_t * parent)
|
||||
void lv_chart_set_type(lv_obj_t * obj, lv_chart_type_t type)
|
||||
|
|
|
@ -61,6 +61,7 @@ lv_fun_globs = [
|
|||
"extra/widgets/spinbox/*.h",
|
||||
"extra/widgets/spinner/*.h",
|
||||
"extra/themes/default/*.h",
|
||||
"extra/themes/mono/*.h",
|
||||
"core/*.h",
|
||||
"draw/*.h",
|
||||
"misc/lv_style_gen.h",
|
||||
|
|
Loading…
Reference in New Issue