Searched refs:useful_y (Results 1 – 2 of 2) sorted by relevance
656 const size_t useful_y = bionics_win_size_y - 2; in draw_bionics_tab() local657 const size_t half_y = useful_y / 2; in draw_bionics_tab()664 max = std::min( bionicslist.size(), useful_y ); in draw_bionics_tab()666 min = ( bionicslist.size() <= useful_y ? 0 : bionicslist.size() - useful_y ); in draw_bionics_tab()670 max = std::min( bionicslist.size(), line + useful_y - half_y ); in draw_bionics_tab()