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