Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/widgets/
Dlv_btnmatrix.c127 uint16_t unit_cnt = 0; /*Number of units in a row*/ in lv_btnmatrix_set_map() local
131 unit_cnt += get_button_width(btnm->ctrl_bits[btn_tot_i + btn_cnt]); in lv_btnmatrix_set_map()
153 lv_coord_t btn_x1 = (max_w_no_gap * row_unit_cnt) / unit_cnt + btn * pcol; in lv_btnmatrix_set_map()
154 lv_coord_t btn_x2 = (max_w_no_gap * (row_unit_cnt + btn_u)) / unit_cnt + btn * pcol - 1; in lv_btnmatrix_set_map()