LVGL fix type for lv_imgbtn (#20354)

This commit is contained in:
s-hadinger 2023-12-30 10:29:30 +01:00 committed by GitHub
parent de0c39582f
commit 2de3d427de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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",