Lines Matching defs:opts
44 | Function : int set_menu_opts(MENU *menu, Menu_Options opts)
56 set_menu_opts(MENU * menu, Menu_Options opts)
58 T((T_CALLED("set_menu_opts(%p,%d)"), menu, opts));
60 opts &= ALL_MENU_OPTS;
62 if (opts & ~ALL_MENU_OPTS)
70 if ((opts & O_ROWMAJOR) != (menu->opt & O_ROWMAJOR))
82 menu->opt = opts;
84 if (opts & O_ONEVALUE)
93 if (opts & O_SHOWDESC) /* this also changes the geometry */
97 _nc_Default_Menu.opt = opts;
104 | Function : int menu_opts_off(MENU *menu, Menu_Options opts)
116 menu_opts_off(MENU * menu, Menu_Options opts)
122 T((T_CALLED("menu_opts_off(%p,%d)"), menu, opts));
124 opts &= ALL_MENU_OPTS;
125 if (opts & ~ALL_MENU_OPTS)
130 opts = cmenu->opt & ~opts;
131 returnCode(set_menu_opts(menu, opts));
137 | Function : int menu_opts_on(MENU *menu, Menu_Options opts)
149 menu_opts_on(MENU * menu, Menu_Options opts)
155 T((T_CALLED("menu_opts_on(%p,%d)"), menu, opts));
157 opts &= ALL_MENU_OPTS;
158 if (opts & ~ALL_MENU_OPTS)
163 opts = cmenu->opt | opts;
164 returnCode(set_menu_opts(menu, opts));