mirror of https://github.com/arendst/Tasmota.git
LVGL fix type for lv_imgbtn (#20354)
This commit is contained in:
parent
de0c39582f
commit
2de3d427de
|
@ -30,6 +30,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Syslog server warning caused by lack of <PRI> field and hostname starting with 'z' (#14689)
|
||||
- Support for Domoticz floor/room topics. Regression from v12.0.1 (#20299)
|
||||
- Berry claiming UART0 if needed (#20324)
|
||||
- LVGL fix type for lv_imgbtn
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -651,8 +651,8 @@ const be_ntv_func_def_t lv_colorwheel_func[] = {
|
|||
/* `lv_imgbtn` methods */
|
||||
#ifdef BE_LV_WIDGET_IMGBTN
|
||||
const be_ntv_func_def_t lv_imgbtn_func[] = {
|
||||
{ "set_src", { (const void*) &lv_imgbtn_set_src, "", "(lv.lv_obj)(lv.lv_imgbtn_state)..." } },
|
||||
{ "set_state", { (const void*) &lv_imgbtn_set_state, "", "(lv.lv_obj)(lv.lv_imgbtn_state)" } },
|
||||
{ "set_src", { (const void*) &lv_imgbtn_set_src, "", "(lv.lv_obj)i..." } },
|
||||
{ "set_state", { (const void*) &lv_imgbtn_set_state, "", "(lv.lv_obj)i" } },
|
||||
};
|
||||
#endif // BE_LV_WIDGET_IMGBTN
|
||||
|
||||
|
|
|
@ -124,6 +124,8 @@ return_types = {
|
|||
"lv_anim_path_cb_t": "c",
|
||||
"lv_anim_ready_cb_t": "c",
|
||||
"lv_anim_start_cb_t": "c",
|
||||
# lv_imgbtn
|
||||
"lv_imgbtn_state_t": "i",
|
||||
|
||||
# arrays
|
||||
"constchar * []": "str_arr",
|
||||
|
|
Loading…
Reference in New Issue