Lines Matching refs:m
39 set_menu_opts(MENU *m, int opt) in set_menu_opts() argument
43 if (m) { in set_menu_opts()
44 if (Posted(m)) { in set_menu_opts()
50 if ((opt & O_ROWMAJOR) != RowMajor(m)) { in set_menu_opts()
51 Top(m) = 0; in set_menu_opts()
52 Current(m) = IthItem(m, 0); in set_menu_opts()
53 (void) set_menu_format(m, FRows(m), FCols(m)); in set_menu_opts()
57 if ((opt & O_NONCYCLIC) != (Mopt(m) & O_NONCYCLIC)) { in set_menu_opts()
58 SetLink(m); in set_menu_opts()
61 Mopt(m) = opt; in set_menu_opts()
62 if (OneValue(m) && Items(m)) { in set_menu_opts()
63 for (ip = Items(m); *ip; ip++) { in set_menu_opts()
68 _scale(m); /* Redo sizing information */ in set_menu_opts()
76 menu_opts_off(MENU *m, OPTIONS opt) in menu_opts_off() argument
78 return (set_menu_opts(m, (Mopt(m ? m : Dfl_Menu)) & ~opt)); in menu_opts_off()
82 menu_opts_on(MENU *m, OPTIONS opt) in menu_opts_on() argument
84 return (set_menu_opts(m, (Mopt(m ? m : Dfl_Menu)) | opt)); in menu_opts_on()
88 menu_opts(MENU *m) in menu_opts() argument
90 return (Mopt(m ? m : Dfl_Menu)); in menu_opts()