Home | History | Annotate | Download | only in kconfig

Lines Matching full:menu

17 static void conf(struct menu *menu);
18 static void check_conf(struct menu *menu);
36 static struct menu *rootEntry;
171 int conf_string(struct menu *menu)
173 struct symbol *sym = menu->sym;
177 printf("%*s%s ", indent - 1, "", menu->prompt->text);
190 if (menu->sym->help)
191 help = menu->sym->help;
192 printf("\n%s\n", menu->sym->help);
205 static int conf_sym(struct menu *menu)
207 struct symbol *sym = menu->sym;
213 printf("%*s%s ", indent - 1, "", menu->prompt->text);
279 static int conf_choice(struct menu *menu)
282 struct menu *child;
286 sym = menu->sym;
290 conf_sym(menu);
305 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu));
315 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu));
319 for (child = menu->list; child; child = child->next) {
362 printf("\n%s\n", menu->sym->help ?
363 menu->sym->help : nohelp_text);
385 for (child = menu->list; child; child = child->next) {
408 static void conf(struct menu *menu)
412 struct menu *child;
414 if (!menu_is_visible(menu))
417 sym = menu->sym;
418 prop = menu->prompt;
424 if (input_mode == ask_silent && rootEntry != menu) {
425 check_conf(menu);
429 prompt = menu_get_prompt(menu);
444 conf_choice(menu);
454 conf_string(menu);
457 conf_sym(menu);
464 for (child = menu->list; child; child = child->next)
470 static void check_conf(struct menu *menu)
473 struct menu *child;
475 if (!menu_is_visible(menu))
478 sym = menu->sym;
484 rootEntry = menu_get_parent_menu(menu);
489 for (child = menu->list; child; child = child->next)