Lines Matching refs:m
39 set_top_row(MENU *m, int top)
43 if (m) {
44 if (Indriver(m)) {
47 if (!Items(m)) {
50 if (top < 0 || top > Rows(m) - Height(m)) {
53 if (top != Top(m)) {
55 if (LinkNeeded(m)) {
56 _link_items(m);
59 current = IthItem(m, RowMajor(m) ? top * Cols(m) : top);
60 Pindex(m) = 0; /* Clear the pattern buffer */
61 IthPattern(m, Pindex(m)) = '\0';
62 _affect_change(m, top, current);
71 top_row(MENU *m)
73 if (m && Items(m) && IthItem(m, 0)) {
74 return (Top(m));