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