Lines Matching refs:menu

21 static void conf(struct menu *menu);
22 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()
134 static int conf_string(struct menu *menu) in conf_string() argument
136 struct symbol *sym = menu->sym; in conf_string()
140 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
153 print_help(menu); in conf_string()
167 static int conf_sym(struct menu *menu) in conf_sym() argument
169 struct symbol *sym = menu->sym; in conf_sym()
173 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
195 if (menu_has_help(menu)) in conf_sym()
232 print_help(menu); in conf_sym()
236 static int conf_choice(struct menu *menu) in conf_choice() argument
239 struct menu *child; in conf_choice()
242 sym = menu->sym; in conf_choice()
245 conf_sym(menu); in conf_choice()
260 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
270 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
274 for (child = menu->list; child; child = child->next) { in conf_choice()
300 if (menu_has_help(menu)) in conf_choice()
318 print_help(menu); in conf_choice()
333 for (child = menu->list; child; child = child->next) { in conf_choice()
355 static void conf(struct menu *menu) in conf() argument
359 struct menu *child; in conf()
361 if (!menu_is_visible(menu)) in conf()
364 sym = menu->sym; in conf()
365 prop = menu->prompt; in conf()
374 rootEntry != menu) { in conf()
375 check_conf(menu); in conf()
380 prompt = menu_get_prompt(menu); in conf()
395 conf_choice(menu); in conf()
405 conf_string(menu); in conf()
408 conf_sym(menu); in conf()
415 for (child = menu->list; child; child = child->next) in conf()
421 static void check_conf(struct menu *menu) in check_conf() argument
424 struct menu *child; in check_conf()
426 if (!menu_is_visible(menu)) in check_conf()
429 sym = menu->sym; in check_conf()
440 rootEntry = menu_get_parent_menu(menu); in check_conf()
446 for (child = menu->list; child; child = child->next) in check_conf()