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