Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_btnmatrix.c25 #define BTN_EXTRA_CLICK_AREA_MAX (LV_DPI_DEF / 10) macro
977 prow = LV_MIN(prow, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
978 pcol = LV_MIN(pcol, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
979 pright = LV_MIN(pright, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
980 ptop = LV_MIN(ptop, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
981 pbottom = LV_MIN(pbottom, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
985 … if(btn_area.x1 <= pleft) btn_area.x1 += obj_cords.x1 - LV_MIN(pleft, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
988 … if(btn_area.y1 <= ptop) btn_area.y1 += obj_cords.y1 - LV_MIN(ptop, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
992BTN_EXTRA_CLICK_AREA_MAX); /*-2 for rounding error*/ in get_button_from_point()
996BTN_EXTRA_CLICK_AREA_MAX); /*-2 for rounding error*/ in get_button_from_point()