mirror of https://github.com/arendst/Tasmota.git
LVGL restore `lv_palette` functions (#21232)
This commit is contained in:
parent
fe34b5df3d
commit
bf47a1e51c
|
@ -59,6 +59,7 @@ All notable changes to this project will be documented in this file.
|
|||
- M5Core2 LoRa868 module receive exception
|
||||
- Fade out on CCT bulb with `SO92 1` (#21159)
|
||||
- HASPmota `align` attribute and expand PNG cache
|
||||
- LVGL restore `lv_palette` functions
|
||||
|
||||
### Removed
|
||||
- Unused `#define MQTT_DATA_STRING` support
|
||||
|
|
|
@ -110,6 +110,9 @@ obj_report_style_change|lv.style||[lv_obj_report_style_change](https://docs.lvgl
|
|||
obj_style_get_selector_part|int|int|[lv_obj_style_get_selector_part](https://docs.lvgl.io/9.0/search.html?q=lv_obj_style_get_selector_part)
|
||||
obj_style_get_selector_state|int|int|[lv_obj_style_get_selector_state](https://docs.lvgl.io/9.0/search.html?q=lv_obj_style_get_selector_state)
|
||||
objid_builtin_destroy|||[lv_objid_builtin_destroy](https://docs.lvgl.io/9.0/search.html?q=lv_objid_builtin_destroy)
|
||||
palette_darken|int, int|lv.color|[lv_palette_darken](https://docs.lvgl.io/9.0/search.html?q=lv_palette_darken)
|
||||
palette_lighten|int, int|lv.color|[lv_palette_lighten](https://docs.lvgl.io/9.0/search.html?q=lv_palette_lighten)
|
||||
palette_main|int|lv.color|[lv_palette_main](https://docs.lvgl.io/9.0/search.html?q=lv_palette_main)
|
||||
pct|int|int|[lv_pct](https://docs.lvgl.io/9.0/search.html?q=lv_pct)
|
||||
pct_to_px|int, int|int|[lv_pct_to_px](https://docs.lvgl.io/9.0/search.html?q=lv_pct_to_px)
|
||||
point_array_transform|comptr, int, int, int, int, comptr, bool||[lv_point_array_transform](https://docs.lvgl.io/9.0/search.html?q=lv_point_array_transform)
|
||||
|
|
|
@ -132,6 +132,9 @@ const be_ntv_func_def_t lv_func[] = {
|
|||
{ "obj_style_get_selector_part", { (const void*) &lv_obj_style_get_selector_part, "i", "i" } },
|
||||
{ "obj_style_get_selector_state", { (const void*) &lv_obj_style_get_selector_state, "i", "i" } },
|
||||
{ "objid_builtin_destroy", { (const void*) &lv_objid_builtin_destroy, "", "" } },
|
||||
{ "palette_darken", { (const void*) &lv_palette_darken, "lv.color", "ii" } },
|
||||
{ "palette_lighten", { (const void*) &lv_palette_lighten, "lv.color", "ii" } },
|
||||
{ "palette_main", { (const void*) &lv_palette_main, "lv.color", "i" } },
|
||||
{ "pct", { (const void*) &lv_pct, "i", "i" } },
|
||||
{ "pct_to_px", { (const void*) &lv_pct_to_px, "i", "ii" } },
|
||||
{ "point_array_transform", { (const void*) &lv_point_array_transform, "", "ciiiicb" } },
|
||||
|
|
|
@ -857,6 +857,11 @@ void lv_event_stop_bubbling(lv_event_t * e)
|
|||
void lv_event_stop_processing(lv_event_t * e)
|
||||
uint32_t lv_event_register_id(void)
|
||||
|
||||
// ../../lvgl/src/misc/lv_palette.h
|
||||
lv_color_t lv_palette_main(lv_palette_t p)
|
||||
lv_color_t lv_palette_lighten(lv_palette_t p, uint8_t lvl)
|
||||
lv_color_t lv_palette_darken(lv_palette_t p, uint8_t lvl)
|
||||
|
||||
// ../../lvgl/src/misc/lv_style.h
|
||||
void lv_style_init(lv_style_t * style)
|
||||
void lv_style_reset(lv_style_t * style)
|
||||
|
|
|
@ -366,6 +366,7 @@ class type_mapper_class:
|
|||
"lv_menu_mode_root_back_button_t": "i",
|
||||
"lv_point_precise_t []": "lv_point_arr",
|
||||
"lv_obj_point_transform_flag_t": "i",
|
||||
"lv_palette_t": "i",
|
||||
|
||||
"int32_t *": "lv_int_arr",
|
||||
"int32_t []": "lv_int_arr",
|
||||
|
|
|
@ -71,6 +71,7 @@ lv_fun_globs = [
|
|||
"misc/lv_area.h",
|
||||
"misc/lv_color.h",
|
||||
"misc/lv_color_op.h",
|
||||
"misc/lv_palette.h",
|
||||
"misc/lv_event.h",
|
||||
"misc/lv_style_gen.h",
|
||||
"misc/lv_style.h",
|
||||
|
|
Loading…
Reference in New Issue