mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
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)
|
- 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)
|
- Support for Domoticz floor/room topics. Regression from v12.0.1 (#20299)
|
||||||
- Berry claiming UART0 if needed (#20324)
|
- Berry claiming UART0 if needed (#20324)
|
||||||
|
- LVGL fix type for lv_imgbtn
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -651,8 +651,8 @@ const be_ntv_func_def_t lv_colorwheel_func[] = {
|
|||||||
/* `lv_imgbtn` methods */
|
/* `lv_imgbtn` methods */
|
||||||
#ifdef BE_LV_WIDGET_IMGBTN
|
#ifdef BE_LV_WIDGET_IMGBTN
|
||||||
const be_ntv_func_def_t lv_imgbtn_func[] = {
|
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_src", { (const void*) &lv_imgbtn_set_src, "", "(lv.lv_obj)i..." } },
|
||||||
{ "set_state", { (const void*) &lv_imgbtn_set_state, "", "(lv.lv_obj)(lv.lv_imgbtn_state)" } },
|
{ "set_state", { (const void*) &lv_imgbtn_set_state, "", "(lv.lv_obj)i" } },
|
||||||
};
|
};
|
||||||
#endif // BE_LV_WIDGET_IMGBTN
|
#endif // BE_LV_WIDGET_IMGBTN
|
||||||
|
|
||||||
|
@ -124,6 +124,8 @@ return_types = {
|
|||||||
"lv_anim_path_cb_t": "c",
|
"lv_anim_path_cb_t": "c",
|
||||||
"lv_anim_ready_cb_t": "c",
|
"lv_anim_ready_cb_t": "c",
|
||||||
"lv_anim_start_cb_t": "c",
|
"lv_anim_start_cb_t": "c",
|
||||||
|
# lv_imgbtn
|
||||||
|
"lv_imgbtn_state_t": "i",
|
||||||
|
|
||||||
# arrays
|
# arrays
|
||||||
"constchar * []": "str_arr",
|
"constchar * []": "str_arr",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user