Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/buttonmatrix/
Dlv_buttonmatrix.c152 int32_t max_w_no_gap = max_w - (pcol * (btn_cnt - 1)); in lv_buttonmatrix_set_map() local
153 if(max_w_no_gap < 0) max_w_no_gap = 0; in lv_buttonmatrix_set_map()
160 int32_t btn_x1 = (max_w_no_gap * row_unit_cnt) / unit_cnt + btn * pcol; in lv_buttonmatrix_set_map()
161 int32_t btn_x2 = (max_w_no_gap * (row_unit_cnt + btn_u)) / unit_cnt + btn * pcol - 1; in lv_buttonmatrix_set_map()