Lines Matching refs:menu

21 static void conf(struct menu *menu);
22 static void check_conf(struct menu *menu);
45 static struct menu *rootEntry;
47 static void print_help(struct menu *menu) in print_help() argument
51 menu_get_ext_help(menu, &help); in print_help()
130 static int conf_string(struct menu *menu) in conf_string() argument
132 struct symbol *sym = menu->sym; in conf_string()
136 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
149 print_help(menu); in conf_string()
163 static int conf_sym(struct menu *menu) in conf_sym() argument
165 struct symbol *sym = menu->sym; in conf_sym()
169 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
226 print_help(menu); in conf_sym()
230 static int conf_choice(struct menu *menu) in conf_choice() argument
233 struct menu *child; in conf_choice()
236 sym = menu->sym; in conf_choice()
239 conf_sym(menu); in conf_choice()
254 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
264 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
268 for (child = menu->list; child; child = child->next) { in conf_choice()
308 print_help(menu); in conf_choice()
323 for (child = menu->list; child; child = child->next) { in conf_choice()
345 static void conf(struct menu *menu) in conf() argument
349 struct menu *child; in conf()
351 if (!menu_is_visible(menu)) in conf()
354 sym = menu->sym; in conf()
355 prop = menu->prompt; in conf()
365 if (input_mode != oldaskconfig && rootEntry != menu) { in conf()
366 check_conf(menu); in conf()
371 prompt = menu_get_prompt(menu); in conf()
386 conf_choice(menu); in conf()
396 conf_string(menu); in conf()
399 conf_sym(menu); in conf()
406 for (child = menu->list; child; child = child->next) in conf()
412 static void check_conf(struct menu *menu) in check_conf() argument
415 struct menu *child; in check_conf()
417 if (!menu_is_visible(menu)) in check_conf()
420 sym = menu->sym; in check_conf()
441 rootEntry = menu_get_parent_menu(menu); in check_conf()
447 for (child = menu->list; child; child = child->next) in check_conf()