Lines Matching refs:prompt
122 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… in menu_add_prop() argument
130 if (prompt) { in menu_add_prop()
131 if (isspace(*prompt)) { in menu_add_prop()
133 while (isspace(*prompt)) in menu_add_prop()
134 prompt++; in menu_add_prop()
136 if (current_entry->prompt) in menu_add_prop()
138 current_entry->prompt = prop; in menu_add_prop()
140 prop->text = prompt; in menu_add_prop()
145 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
147 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt()
249 } else if (parent->prompt) in menu_finalize()
250 parentdep = parent->prompt->visible.expr; in menu_finalize()
262 prop = menu->prompt; in menu_finalize()
282 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; in menu_finalize()
287 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; in menu_finalize()
316 if (!menu->prompt) in menu_finalize()
337 if (menu->list && (!menu->prompt || !menu->prompt->text)) { in menu_finalize()
353 if (sym_is_choice(sym) && !parent->prompt) in menu_finalize()
361 if (sym && !sym_is_optional(sym) && parent->prompt) { in menu_finalize()
363 expr_alloc_and(parent->prompt->visible.expr, in menu_finalize()
374 if (!menu->prompt) in menu_is_visible()
379 visible = menu->prompt->visible.tri; in menu_is_visible()
381 visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr); in menu_is_visible()
396 if (menu->prompt) in menu_get_prompt()
397 return _(menu->prompt->text); in menu_get_prompt()
413 type = menu->prompt ? menu->prompt->type : 0; in menu_get_parent_menu()