Lines Matching refs:start_y
526 int start_x = 0, start_y = 0; in show_scroll_win_ext() local
540 start_y = *vscroll; in show_scroll_win_ext()
577 copywin(pad, win, start_y, start_x, 2, 2, text_lines, in show_scroll_win_ext()
591 start_y += text_lines-2; in show_scroll_win_ext()
595 start_y -= text_lines+2; in show_scroll_win_ext()
598 start_y = 0; in show_scroll_win_ext()
601 start_y = total_lines-text_lines; in show_scroll_win_ext()
605 start_y++; in show_scroll_win_ext()
609 start_y--; in show_scroll_win_ext()
621 size_t start = (get_line(text, start_y) - text); in show_scroll_win_ext()
622 size_t end = (get_line(text, start_y + text_lines) - text); in show_scroll_win_ext()
634 if (start_y < 0) in show_scroll_win_ext()
635 start_y = 0; in show_scroll_win_ext()
636 if (start_y >= total_lines-text_lines) in show_scroll_win_ext()
637 start_y = total_lines-text_lines; in show_scroll_win_ext()
647 *vscroll = start_y; in show_scroll_win_ext()