• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/config/

Lines Matching refs:menu

2  *  menubox.c -- implements the menu box
30 * to the first position in the menu box. Now lxdialog is a bit
31 * smarter and works more like other menu systems (just have a look at
50 * middle of the menu box, not at the bottom.
64 * Print menu item
163 * Display a menu for choosing among a number of options
172 WINDOW *dialog, *menu;
217 /* create new window for the menu */
218 menu = subwin (dialog, menu_height, menu_width,
220 keypad (menu, TRUE);
222 /* draw a box around the menu items */
227 * Find length of longest item in order to center menu.
261 /* Print the menu */
263 print_item (menu, items[first_item + i]->name, i, i == choice,
267 wnoutrefresh (menu);
273 wmove (menu, choice, item_x+1);
274 wrefresh (menu);
277 key = wgetch(menu);
302 print_item (menu, items[scroll + choice]->name, choice, FALSE,
307 /* Scroll menu down */
308 scrollok (menu, TRUE);
309 wscrl (menu, -1);
310 scrollok (menu, FALSE);
314 print_item (menu, items[scroll]->name, 0, FALSE,
321 print_item (menu, items[scroll + choice]->name, choice, FALSE,
327 /* Scroll menu up */
328 scrollok (menu, TRUE);
329 scroll (menu);
330 scrollok (menu, FALSE);
334 print_item (menu, items[scroll + max_choice - 1]->name,
341 scrollok (menu, TRUE);
344 wscrl (menu, -1);
346 print_item (menu, items[scroll]->name, 0, FALSE,
353 scrollok (menu, FALSE);
358 scrollok (menu, TRUE);
359 scroll(menu);
360 scrollok (menu, FALSE);
362 print_item (menu, items[scroll + max_choice - 1]->name,
374 print_item (menu, items[scroll + choice]->name, choice, TRUE,
381 wrefresh (menu);
394 wrefresh (menu);