Home
last modified time | relevance | path

Searched refs:row_cnt (Results 1 – 8 of 8) sorted by relevance

/lvgl-3.4.0/src/widgets/
Dlv_table.c85 if(row >= table->row_cnt) lv_table_set_row_cnt(obj, row + 1); in lv_table_set_cell_value()
126 if(row >= table->row_cnt) { in lv_table_set_cell_value_fmt()
205 void lv_table_set_row_cnt(lv_obj_t * obj, uint16_t row_cnt) in lv_table_set_row_cnt() argument
210 uint16_t old_row_cnt = table->row_cnt; in lv_table_set_row_cnt()
211 table->row_cnt = row_cnt; in lv_table_set_row_cnt()
213 table->row_h = lv_mem_realloc(table->row_h, table->row_cnt * sizeof(table->row_h[0])); in lv_table_set_row_cnt()
218 if(old_row_cnt > row_cnt) { in lv_table_set_row_cnt()
220 uint32_t new_cell_cnt = table->col_cnt * table->row_cnt; in lv_table_set_row_cnt()
227 …table->cell_data = lv_mem_realloc(table->cell_data, table->row_cnt * table->col_cnt * sizeof(char … in lv_table_set_row_cnt()
232 if(old_row_cnt < row_cnt) { in lv_table_set_row_cnt()
[all …]
Dlv_table.h53 uint16_t row_cnt; member
111 void lv_table_set_row_cnt(lv_obj_t * obj, uint16_t row_cnt);
Dlv_roller.h92 void lv_roller_set_visible_row_count(lv_obj_t * obj, uint8_t row_cnt);
Dlv_btnmatrix.c116 lv_coord_t max_h_no_gap = max_h - (prow * (btnm->row_cnt - 1)); in lv_btnmatrix_set_map()
126 for(row = 0; row < btnm->row_cnt; row++) { in lv_btnmatrix_set_map()
141 lv_coord_t row_y1 = ptop + (max_h_no_gap * row) / btnm->row_cnt + row * prow; in lv_btnmatrix_set_map()
142 lv_coord_t row_y2 = ptop + (max_h_no_gap * (row + 1)) / btnm->row_cnt + row * prow - 1; in lv_btnmatrix_set_map()
362 btnm->row_cnt = 0; in lv_btnmatrix_constructor()
405 *s = btnm->row_cnt > 0 ? lv_obj_get_content_height(obj) / btnm->row_cnt : 0; in lv_btnmatrix_event()
821 btnm->row_cnt = 1; in allocate_btn_areas_and_controls()
830 btnm->row_cnt++; in allocate_btn_areas_and_controls()
1034 if(btnm->row_cnt <= 0) { in has_popovers_in_top_row()
Dlv_btnmatrix.h61 …uint16_t row_cnt; /*Number of rows in 'map_p'(Handled by the libra… member
Dlv_roller.c188 void lv_roller_set_visible_row_count(lv_obj_t * obj, uint8_t row_cnt) in lv_roller_set_visible_row_count() argument
195 … lv_obj_set_height(obj, (lv_font_get_line_height(font) + line_space) * row_cnt + 2 * border_width); in lv_roller_set_visible_row_count()
/lvgl-3.4.0/docs/widgets/core/
Dtable.md34 To explicitly set number of rows and columns use `lv_table_set_row_cnt(table, row_cnt)` and `lv_tab…
/lvgl-3.4.0/docs/
DCHANGELOG.md608 - fix(btnmatrix) always update row_cnt [`86012ae`](https://github.com/lvgl/lvgl/commit/86012aefc719…