Lines Matching defs:ypad
59 int ypad; /* start pad line */
408 if (m->ypad > 0)
411 if ((m->ypad + (int)m->menurows) < m->nitems)
415 100 * (m->ypad + m->menurows) / m->nitems);
473 if (m->ypad > m->sel && m->ypad > 0)
474 m->ypad = m->sel;
475 if ((int)(m->ypad + m->menurows) <= m->sel)
476 m->ypad = m->sel - m->menurows + 1;
478 if (m->ypad > 0 && (m->nitems - m->ypad) < (int)m->menurows)
479 m->ypad = m->nitems - m->menurows;
496 pnoutrefresh(m->pad, m->ypad, 0, m->ys, m->xs, m->ye, m->xe);
533 m.ypad = 0;
639 pnoutrefresh(m.pad, m.ypad, 0, m.ys, m.xs, m.ye, m.xe);
664 if (m.ypad > m.sel && m.ypad > 0)
665 m.ypad = m.sel;
666 if ((int)(m.ypad + m.menurows) <= m.sel)
667 m.ypad = m.sel - m.menurows + 1;
670 pnoutrefresh(m.pad, m.ypad, 0, m.ys, m.xs, m.ye, m.xe);