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()
133 static int conf_string(struct menu *menu) in conf_string() argument
135 struct symbol *sym = menu->sym; in conf_string()
139 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
152 print_help(menu); in conf_string()
166 static int conf_sym(struct menu *menu) in conf_sym() argument
168 struct symbol *sym = menu->sym; in conf_sym()
172 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
194 if (menu_has_help(menu)) in conf_sym()
231 print_help(menu); in conf_sym()
235 static int conf_choice(struct menu *menu) in conf_choice() argument
238 struct menu *child; in conf_choice()
241 sym = menu->sym; in conf_choice()
244 conf_sym(menu); in conf_choice()
259 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
269 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
273 for (child = menu->list; child; child = child->next) { in conf_choice()
299 if (menu_has_help(menu)) in conf_choice()
317 print_help(menu); in conf_choice()
332 for (child = menu->list; child; child = child->next) { in conf_choice()
354 static void conf(struct menu *menu) in conf() argument
358 struct menu *child; in conf()
360 if (!menu_is_visible(menu)) in conf()
363 sym = menu->sym; in conf()
364 prop = menu->prompt; in conf()
373 rootEntry != menu) { in conf()
374 check_conf(menu); in conf()
379 prompt = menu_get_prompt(menu); in conf()
394 conf_choice(menu); in conf()
404 conf_string(menu); in conf()
407 conf_sym(menu); in conf()
414 for (child = menu->list; child; child = child->next) in conf()
420 static void check_conf(struct menu *menu) in check_conf() argument
423 struct menu *child; in check_conf()
425 if (!menu_is_visible(menu)) in check_conf()
428 sym = menu->sym; in check_conf()
439 rootEntry = menu_get_parent_menu(menu); in check_conf()
445 for (child = menu->list; child; child = child->next) in check_conf()