Lines Matching refs:current_cntr
521 static int max_rows, current_cntr = 1; variable
654 if ((current_cntr - scroll) > (max - 1)) { in redraw()
655 scroll = current_cntr - (max - 1); in redraw()
656 } else if ((current_cntr - 1) < scroll) { in redraw()
657 scroll = current_cntr - 1; in redraw()
676 redraw_counter(win, row - scroll, group, j, row == current_cntr); in redraw()
715 if (n == current_cntr) in current_counter()
722 if (n == current_cntr) { in current_counter()
827 current_cntr = MAX2(1, current_cntr + amount); in scroll_cntr()
829 current_cntr = MAX2(1, current_cntr - 1); in scroll_cntr()
832 current_cntr = MIN2(max_rows - 1, current_cntr + amount); in scroll_cntr()
834 current_cntr = MIN2(max_rows - 1, current_cntr + 1); in scroll_cntr()