Lines Matching refs:at_top
641 int at_top = index2row(&all, moi->top_index, which);
643 int at_bot = skip_rows(&all, at_top, all.use_height, which);
648 at_top, at_bot, at_end,
662 if (at_top > 0)
663 cur_y -= at_top;
683 k = row2index(&all, i + at_top, j);
694 at_top = index2row(&all, moi->top_index, which);
695 at_bot = skip_rows(&all, at_top, all.use_height, which);
847 int temp = at_top;
862 at_top = at_bot;
865 row2index(&all, at_top, which),
868 at_bot = skip_rows(&all, at_top, all.use_height, which);
901 dlg_trace_msg("<--at_top %d\n", at_top);
906 if ((at_bot - at_top) >= all.use_height) {
911 at_top = index2row(&all, moi->top_index, which);
912 at_bot = skip_rows(&all, at_top, all.use_height, which);
917 dlg_trace_msg("...at_top %d (diff %d)\n", at_top,
918 at_bot - at_top);
926 if ((at_bot - at_top) > all.use_height) {
930 } else if (at_top > 0 &&
931 (at_bot - at_top) >= all.use_height) {
943 } else if (now_at < at_top) {
944 while (now_at < at_top) {
949 at_top = index2row(&all, moi->top_index, which);
951 dlg_trace_msg("...at_top %d (now %d)\n", at_top, now_at);
956 if (at_top <= now_at)