Lines Matching refs:opts
44 | Function : int set_item_opts(ITEM *item, Item_Options opts)
54 set_item_opts(ITEM * item, Item_Options opts)
56 T((T_CALLED("set_menu_opts(%p,%d)"), item, opts));
58 opts &= ALL_ITEM_OPTS;
60 if (opts & ~ALL_ITEM_OPTS)
65 if (item->opt != opts)
69 item->opt = opts;
71 if ((!(opts & O_SELECTABLE)) && item->value)
82 _nc_Default_Item.opt = opts;
89 | Function : int item_opts_off(ITEM *item, Item_Options opts)
97 item_opts_off(ITEM * item, Item_Options opts)
103 T((T_CALLED("item_opts_off(%p,%d)"), item, opts));
105 if (opts & ~ALL_ITEM_OPTS)
110 opts = citem->opt & ~(opts & ALL_ITEM_OPTS);
111 returnCode(set_item_opts(item, opts));
117 | Function : int item_opts_on(ITEM *item, Item_Options opts)
125 item_opts_on(ITEM * item, Item_Options opts)
131 T((T_CALLED("item_opts_on(%p,%d)"), item, opts));
133 opts &= ALL_ITEM_OPTS;
134 if (opts & ~ALL_ITEM_OPTS)
139 opts = citem->opt | opts;
140 returnCode(set_item_opts(item, opts));