rename bool '..._en' function paramter names to be more consistent
This commit is contained in:
@@ -425,13 +425,13 @@ void lv_tabview_set_btns_pos(lv_obj_t * tabview, lv_tabview_btns_pos_t btns_pos)
|
||||
/**
|
||||
* Set whether tab buttons are hidden
|
||||
* @param tabview pointer to a tab view object
|
||||
* @param hidden whether tab buttons are hidden
|
||||
* @param en whether tab buttons are hidden
|
||||
*/
|
||||
void lv_tabview_set_btns_hidden(lv_obj_t *tabview, bool hidden)
|
||||
void lv_tabview_set_btns_hidden(lv_obj_t *tabview, bool en)
|
||||
{
|
||||
lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview);
|
||||
|
||||
ext->btns_hide = hidden;
|
||||
ext->btns_hide = en;
|
||||
tabview_realign(tabview);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user