Lines Matching refs:menu
20 static void conf(struct menu *menu);
21 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()
132 static int conf_string(struct menu *menu) in conf_string() argument
134 struct symbol *sym = menu->sym; in conf_string()
138 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
151 print_help(menu); in conf_string()
165 static int conf_sym(struct menu *menu) in conf_sym() argument
167 struct symbol *sym = menu->sym; in conf_sym()
171 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_sym()
228 print_help(menu); in conf_sym()
232 static int conf_choice(struct menu *menu) in conf_choice() argument
235 struct menu *child; in conf_choice()
238 sym = menu->sym; in conf_choice()
241 conf_sym(menu); in conf_choice()
256 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
266 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
270 for (child = menu->list; child; child = child->next) { in conf_choice()
310 print_help(menu); in conf_choice()
325 for (child = menu->list; child; child = child->next) { in conf_choice()
347 static void conf(struct menu *menu) in conf() argument
351 struct menu *child; in conf()
353 if (!menu_is_visible(menu)) in conf()
356 sym = menu->sym; in conf()
357 prop = menu->prompt; in conf()
367 if (input_mode != oldaskconfig && rootEntry != menu) { in conf()
368 check_conf(menu); in conf()
373 prompt = menu_get_prompt(menu); in conf()
388 conf_choice(menu); in conf()
398 conf_string(menu); in conf()
401 conf_sym(menu); in conf()
408 for (child = menu->list; child; child = child->next) in conf()
414 static void check_conf(struct menu *menu) in check_conf() argument
417 struct menu *child; in check_conf()
419 if (!menu_is_visible(menu)) in check_conf()
422 sym = menu->sym; in check_conf()
442 print_help(menu); in check_conf()
448 rootEntry = menu_get_parent_menu(menu); in check_conf()
454 for (child = menu->list; child; child = child->next) in check_conf()