Lines Matching refs:menu

20 static void conf(struct menu *menu);
21 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()
162 static int conf_sym(struct menu *menu) in conf_sym() argument
164 struct symbol *sym = menu->sym; in conf_sym()
168 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
190 if (menu_has_help(menu)) in conf_sym()
227 print_help(menu); in conf_sym()
231 static int conf_choice(struct menu *menu) in conf_choice() argument
234 struct menu *child; in conf_choice()
237 sym = menu->sym; in conf_choice()
240 conf_sym(menu); in conf_choice()
255 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
265 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
269 for (child = menu->list; child; child = child->next) { in conf_choice()
295 if (menu_has_help(menu)) in conf_choice()
312 print_help(menu); in conf_choice()
327 for (child = menu->list; child; child = child->next) { in conf_choice()
349 static void conf(struct menu *menu) in conf() argument
353 struct menu *child; in conf()
355 if (!menu_is_visible(menu)) in conf()
358 sym = menu->sym; in conf()
359 prop = menu->prompt; in conf()
368 rootEntry != menu) { in conf()
369 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()
433 rootEntry = menu_get_parent_menu(menu); in check_conf()
439 for (child = menu->list; child; child = child->next) in check_conf()