Lines Matching refs:menu
19 static void conf(struct menu *menu);
20 static void check_conf(struct menu *menu);
47 static struct menu *rootEntry;
49 static void print_help(struct menu *menu)
53 menu_get_ext_help(menu, &help);
349 static int conf_string(struct menu *menu)
351 struct symbol *sym = menu->sym;
355 printf("%*s%s ", indent - 1, "", menu->prompt->text);
368 print_help(menu);
382 static int conf_sym(struct menu *menu)
384 struct symbol *sym = menu->sym;
388 printf("%*s%s ", indent - 1, "", menu->prompt->text);
445 print_help(menu);
449 static int conf_choice(struct menu *menu)
452 struct menu *child;
455 sym = menu->sym;
458 conf_sym(menu);
473 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu));
483 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu));
487 for (child = menu->list; child; child = child->next) {
527 print_help(menu);
542 for (child = menu->list; child; child = child->next) {
564 static void conf(struct menu *menu)
568 struct menu *child;
570 if (!menu_is_visible(menu))
573 sym = menu->sym;
574 prop = menu->prompt;
584 if (input_mode != oldaskconfig && rootEntry != menu) {
585 check_conf(menu);
590 prompt = menu_get_prompt(menu);
605 conf_choice(menu);
615 conf_string(menu);
618 conf_sym(menu);
625 for (child = menu->list; child; child = child->next)
631 static void check_conf(struct menu *menu)
634 struct menu *child;
636 if (!menu_is_visible(menu))
639 sym = menu->sym;
651 print_help(menu);
657 rootEntry = menu_get_parent_menu(menu);
663 for (child = menu->list; child; child = child->next)