chore(tabview) correct format.

This commit is contained in:
pete-pjb 2022-06-13 13:00:23 +01:00
parent 2c9695afb4
commit 11b708ed95
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ New tabs can be added with `lv_tabview_add_tab(tabview, "Tab name")`. This will
### Rename tabs
A tab can be renamed with `lv_tabview_rename_tab( tabview, tab_id, "New Name" )`.
A tab can be renamed with `lv_tabview_rename_tab(tabview, tab_id, "New Name")`.
### Change tab

View File

@ -121,7 +121,7 @@ lv_obj_t * lv_tabview_add_tab(lv_obj_t * obj, const char * name)
return page;
}
void lv_tabview_rename_tab( lv_obj_t *obj, uint32_t id, const char *new_name )
void lv_tabview_rename_tab(lv_obj_t *obj, uint32_t id, const char *new_name)
{
LV_ASSERT_OBJ(obj, MY_CLASS);
lv_tabview_t * tabview = (lv_tabview_t *)obj;

View File

@ -42,7 +42,7 @@ lv_obj_t * lv_tabview_create(lv_obj_t * parent, lv_dir_t tab_pos, lv_coord_t tab
lv_obj_t * lv_tabview_add_tab(lv_obj_t * tv, const char * name);
void lv_tabview_rename_tab( lv_obj_t *obj, uint32_t tab_id, const char *new_name );
void lv_tabview_rename_tab(lv_obj_t *obj, uint32_t tab_id, const char *new_name);
lv_obj_t * lv_tabview_get_content(lv_obj_t * tv);