mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-27 11:43:43 +08:00
chore(tabview) correct format.
This commit is contained in:
parent
2c9695afb4
commit
11b708ed95
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user