Lines Matching refs:prompt

128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct …  in menu_add_prop()  argument
136 if (prompt) { in menu_add_prop()
137 if (isspace(*prompt)) { in menu_add_prop()
139 while (isspace(*prompt)) in menu_add_prop()
140 prompt++; in menu_add_prop()
142 if (current_entry->prompt && current_entry != &rootmenu) in menu_add_prop()
171 current_entry->prompt = prop; in menu_add_prop()
173 prop->text = prompt; in menu_add_prop()
178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
180 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt()
309 } else if (parent->prompt) in menu_finalize()
310 parentdep = parent->prompt->visible.expr; in menu_finalize()
322 prop = menu->prompt; in menu_finalize()
342 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; in menu_finalize()
347 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; in menu_finalize()
380 if (!menu->prompt) in menu_finalize()
415 if (menu->list && (!menu->prompt || !menu->prompt->text)) { in menu_finalize()
431 if (sym_is_choice(sym) && !parent->prompt) in menu_finalize()
439 if (sym && !sym_is_optional(sym) && parent->prompt) { in menu_finalize()
441 expr_alloc_and(parent->prompt->visible.expr, in menu_finalize()
448 if (!menu->prompt) in menu_has_prompt()
475 if (!menu->prompt) in menu_is_visible()
486 visible = menu->prompt->visible.tri; in menu_is_visible()
488 visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr); in menu_is_visible()
509 if (menu->prompt) in menu_get_prompt()
510 return menu->prompt->text; in menu_get_prompt()
526 type = menu->prompt ? menu->prompt->type : 0; in menu_get_parent_menu()