Lines Matching refs:menu

19 static void conf(struct menu *menu);
20 static void check_conf(struct menu *menu);
46 static struct menu *rootEntry;
48 static void print_help(struct menu *menu) in print_help() argument
52 menu_get_ext_help(menu, &help); in print_help()
352 static int conf_string(struct menu *menu) in conf_string() argument
354 struct symbol *sym = menu->sym; in conf_string()
358 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
371 print_help(menu); in conf_string()
385 static int conf_sym(struct menu *menu) in conf_sym() argument
387 struct symbol *sym = menu->sym; in conf_sym()
391 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_sym()
448 print_help(menu); in conf_sym()
452 static int conf_choice(struct menu *menu) in conf_choice() argument
455 struct menu *child; in conf_choice()
458 sym = menu->sym; in conf_choice()
461 conf_sym(menu); in conf_choice()
476 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
486 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
490 for (child = menu->list; child; child = child->next) { in conf_choice()
530 print_help(menu); in conf_choice()
545 for (child = menu->list; child; child = child->next) { in conf_choice()
567 static void conf(struct menu *menu) in conf() argument
571 struct menu *child; in conf()
573 if (!menu_is_visible(menu)) in conf()
576 sym = menu->sym; in conf()
577 prop = menu->prompt; in conf()
587 if (input_mode != oldaskconfig && rootEntry != menu) { in conf()
588 check_conf(menu); in conf()
593 prompt = menu_get_prompt(menu); in conf()
608 conf_choice(menu); in conf()
618 conf_string(menu); in conf()
621 conf_sym(menu); in conf()
628 for (child = menu->list; child; child = child->next) in conf()
634 static void check_conf(struct menu *menu) in check_conf() argument
637 struct menu *child; in check_conf()
639 if (!menu_is_visible(menu)) in check_conf()
642 sym = menu->sym; in check_conf()
654 print_help(menu); in check_conf()
660 rootEntry = menu_get_parent_menu(menu); in check_conf()
666 for (child = menu->list; child; child = child->next) in check_conf()