Lines Matching refs:opts
55 set_item_opts(ITEM *item, Item_Options opts) in MENU_EXPORT()
57 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts)); in MENU_EXPORT()
59 opts &= ALL_ITEM_OPTS; in MENU_EXPORT()
61 if (opts & ~ALL_ITEM_OPTS) in MENU_EXPORT()
66 if (item->opt != opts) in MENU_EXPORT()
70 item->opt = opts; in MENU_EXPORT()
72 if ((!(opts & O_SELECTABLE)) && item->value) in MENU_EXPORT()
83 _nc_Default_Item.opt = opts; in MENU_EXPORT()
98 item_opts_off(ITEM *item, Item_Options opts) in item_opts_off() argument
104 T((T_CALLED("item_opts_off(%p,%d)"), (void *)item, opts)); in item_opts_off()
106 if (opts & ~ALL_ITEM_OPTS) in item_opts_off()
111 opts = citem->opt & ~(opts & ALL_ITEM_OPTS); in item_opts_off()
112 returnCode(set_item_opts(item, opts)); in item_opts_off()
126 item_opts_on(ITEM *item, Item_Options opts) in item_opts_on() argument
132 T((T_CALLED("item_opts_on(%p,%d)"), (void *)item, opts)); in item_opts_on()
134 opts &= ALL_ITEM_OPTS; in item_opts_on()
135 if (opts & ~ALL_ITEM_OPTS) in item_opts_on()
140 opts = citem->opt | opts; in item_opts_on()
141 returnCode(set_item_opts(item, opts)); in item_opts_on()