Home
last modified time | relevance | path

Searched refs:menu (Results 1 – 19 of 19) sorted by relevance

/scripts/kconfig/
Dmenu.c15 struct menu rootmenu;
16 static struct menu **last_entry_ptr;
21 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument
25 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn()
49 struct menu *menu; in menu_add_entry() local
51 menu = malloc(sizeof(*menu)); in menu_add_entry()
52 memset(menu, 0, sizeof(*menu)); in menu_add_entry()
53 menu->sym = sym; in menu_add_entry()
54 menu->parent = current_menu; in menu_add_entry()
55 menu->file = current_file; in menu_add_entry()
[all …]
Dmconf.c272 static struct menu *current_menu;
278 static void conf(struct menu *menu);
279 static void conf_choice(struct menu *menu);
280 static void conf_string(struct menu *menu);
285 static void show_help(struct menu *menu);
339 static void build_conf(struct menu *menu) in build_conf() argument
343 struct menu *child; in build_conf()
353 visible = menu_is_visible(menu); in build_conf()
354 if (show_all_options && !menu_has_prompt(menu)) in build_conf()
359 sym = menu->sym; in build_conf()
[all …]
Dnconf.c264 static struct menu *current_menu;
284 static void conf(struct menu *menu);
285 static void conf_choice(struct menu *menu);
286 static void conf_string(struct menu *menu);
289 static void show_help(struct menu *menu);
294 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
295 static void handle_f1(int *key, struct menu *current_item);
296 static void handle_f2(int *key, struct menu *current_item);
297 static void handle_f3(int *key, struct menu *current_item);
298 static void handle_f4(int *key, struct menu *current_item);
[all …]
Dlkc_proto.h15 P(rootmenu,struct menu,);
17 P(menu_is_visible, bool, (struct menu *menu));
18 P(menu_has_prompt, bool, (struct menu *menu));
19 P(menu_get_prompt,const char *,(struct menu *menu));
20 P(menu_get_root_menu,struct menu *,(struct menu *menu));
21 P(menu_get_parent_menu,struct menu *,(struct menu *menu));
22 P(menu_has_help,bool,(struct menu *menu));
23 P(menu_get_help,const char *,(struct menu *menu));
26 P(menu_get_ext_help,void,(struct menu *menu, struct gstr *help));
Dconf.c19 static void conf(struct menu *menu);
20 static void check_conf(struct menu *menu);
43 static struct menu *rootEntry;
45 static void print_help(struct menu *menu) in print_help() argument
49 menu_get_ext_help(menu, &help); in print_help()
129 static int conf_string(struct menu *menu) in conf_string() argument
131 struct symbol *sym = menu->sym; in conf_string()
135 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
148 print_help(menu); in conf_string()
162 static int conf_sym(struct menu *menu) in conf_sym() argument
[all …]
Dqconf.cc107 sym_set_string_value(menu->sym, text(dataColIdx).latin1()); in okRename()
130 sym = menu->sym; in updateMenu()
131 prop = menu->prompt; in updateMenu()
132 prompt = _(menu_get_prompt(menu)); in updateMenu()
140 if (sym && list->rootEntry == menu) in updateMenu()
234 if (!menu) in testUpdateMenu()
237 sym_calc_value(menu->sym); in testUpdateMenu()
238 if (menu->flags & MENU_CHANGED) { in testUpdateMenu()
240 menu->flags &= ~MENU_CHANGED; in testUpdateMenu()
241 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu()
[all …]
Dqconf.h59 ConfigItem* findConfigItem(struct menu *);
71 void setRootMenu(struct menu *menu);
79 void menuChanged(struct menu *menu);
80 void menuSelected(struct menu *menu);
82 void gotFocus(struct menu *);
119 bool menuSkip(struct menu *);
122 void updateMenuList(P*, struct menu*);
133 struct menu *rootEntry;
146 ConfigItem(Q3ListView *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem()
147 : Parent(parent, after), menu(m), visible(v), goParent(false) in ConfigItem()
[all …]
Dgconf.c62 static struct menu *current; // current node for SINGLE view
63 static struct menu *browsed; // browsed node for SPLIT view
73 static void display_tree(struct menu *menu);
75 static void update_tree(struct menu *src, GtkTreeIter * dst);
76 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row);
77 static gchar **fill_row(struct menu *menu);
391 static void text_insert_help(struct menu *menu) in text_insert_help() argument
395 const char *prompt = _(menu_get_prompt(menu)); in text_insert_help()
398 menu_get_ext_help(menu, &help); in text_insert_help()
810 struct menu *menu; in renderer_edited() local
[all …]
Dkxgettext.c171 static void menu_build_message_list(struct menu *menu) in menu_build_message_list() argument
173 struct menu *child; in menu_build_message_list()
175 message__add(menu_get_prompt(menu), NULL, in menu_build_message_list()
176 menu->file == NULL ? "Root Menu" : menu->file->name, in menu_build_message_list()
177 menu->lineno); in menu_build_message_list()
179 if (menu->sym != NULL && menu_has_help(menu)) in menu_build_message_list()
180 message__add(menu_get_help(menu), menu->sym->name, in menu_build_message_list()
181 menu->file == NULL ? "Root Menu" : menu->file->name, in menu_build_message_list()
182 menu->lineno); in menu_build_message_list()
184 for (child = menu->list; child != NULL; child = child->next) in menu_build_message_list()
Dzconf.y31 static struct menu *current_menu, *current_entry;
42 struct menu *menu; member
87 %type <menu> if_entry menu_entry choice_entry
351 menu: T_MENU prompt T_EOL
358 menu_entry: menu visibility_list depends_list
606 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
608 struct symbol *sym = menu->sym; in print_symbol()
636 if (prop->menu != menu) in print_symbol()
680 if (menu->help) { in print_symbol()
681 int len = strlen(menu->help); in print_symbol()
[all …]
Dconfdata.c603 struct menu *menu; in conf_write_defconfig() local
613 menu = rootmenu.list; in conf_write_defconfig()
615 while (menu != NULL) in conf_write_defconfig()
617 sym = menu->sym; in conf_write_defconfig()
619 if (!menu_is_visible(menu)) in conf_write_defconfig()
655 if (menu->list != NULL) { in conf_write_defconfig()
656 menu = menu->list; in conf_write_defconfig()
658 else if (menu->next != NULL) { in conf_write_defconfig()
659 menu = menu->next; in conf_write_defconfig()
661 while ((menu = menu->parent)) { in conf_write_defconfig()
[all …]
Dnconf.gui.c253 MENU *menu; in btn_dialog() local
293 menu = new_menu(btns); in btn_dialog()
297 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog()
298 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog()
307 set_menu_win(menu, win); in btn_dialog()
308 set_menu_sub(menu, menu_win); in btn_dialog()
309 set_menu_format(menu, 1, btn_num); in btn_dialog()
310 menu_opts_off(menu, O_SHOWDESC); in btn_dialog()
311 menu_opts_off(menu, O_SHOWMATCH); in btn_dialog()
312 menu_opts_on(menu, O_ONEVALUE); in btn_dialog()
[all …]
Dexpr.h142 struct menu *menu; /* the menu the property are associated with member
158 struct menu { struct
159 struct menu *next; argument
160 struct menu *parent; argument
161 struct menu *list; argument
Dlkc.h101 void menu_warn(struct menu *menu, const char *fmt, ...);
102 struct menu *menu_add_menu(void);
113 void menu_finalize(struct menu *parent);
Dzconf.tab.c_shipped107 static struct menu *current_menu, *current_entry;
184 struct menu *menu;
564 "if_entry", "if_end", "if_stmt", "if_block", "mainmenu_stmt", "menu",
1312 (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno);
1313 if (current_menu == (yyvaluep->menu))
1322 (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno);
1323 if (current_menu == (yyvaluep->menu))
1332 (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno);
1333 if (current_menu == (yyvaluep->menu))
1792 (yyval.menu) = menu_add_menu();
[all …]
Dsymbol.c448 if (prop->menu) in sym_set_changed()
449 prop->menu->flags |= MENU_CHANGED; in sym_set_changed()
1022 struct menu *menu = NULL; in sym_check_print_recursive() local
1049 menu = prop->menu; in sym_check_print_recursive()
1050 if (prop->menu) in sym_check_print_recursive()
1070 menu->file->name, menu->lineno, in sym_check_print_recursive()
1075 menu->file->name, menu->lineno, in sym_check_print_recursive()
Dzconf.gperf16 menu, T_MENU, TF_COMMAND keyword
Dzconf.hash.c_shipped109 char kconf_id_strings_str29[sizeof("menu")];
144 "menu",
/scripts/kconfig/lxdialog/
Dmenubox.c105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
189 WINDOW *dialog, *menu; in dialog_menu() local
232 menu = subwin(dialog, menu_height, menu_width, in dialog_menu()
234 keypad(menu, TRUE); in dialog_menu()
271 wnoutrefresh(menu); in dialog_menu()
277 wmove(menu, choice, item_x + 1); in dialog_menu()
278 wrefresh(menu); in dialog_menu()
281 key = wgetch(menu); in dialog_menu()
314 do_scroll(menu, &scroll, -1); in dialog_menu()
326 do_scroll(menu, &scroll, 1); in dialog_menu()
[all …]