• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/config/

Lines Matching refs:scroll

53  * Reset 'scroll' to 0 if the value from lxdialog.scrltmp is bogus.
56 * fscanf would read in 'scroll', and eventually that value would get used.
101 * Print the scroll indicators.
104 print_arrows (WINDOW * win, int item_no, int scroll,
113 if (scroll > 0) {
129 if ((height < item_no) && (scroll + height < item_no)) {
171 int key = 0, button = 0, scroll = 0, choice = 0, first_item = 0, max_choice;
238 /* get the scroll info from the temp file */
240 if ( (fscanf(f,"%d\n",&scroll) == 1) && (scroll <= choice) &&
241 (scroll+max_choice > choice) && (scroll >= 0) &&
242 (scroll+max_choice <= item_no) ) {
243 first_item = scroll;
244 choice = choice - scroll;
247 scroll=0;
255 scroll = first_item = item_no-max_choice;
257 scroll = first_item = choice - max_choice/2;
258 choice = choice - scroll;
269 print_arrows(dialog, item_no, scroll,
285 j = first_alpha(items[scroll + i]->name, "YyNnMm>");
286 if (key == tolower(items[scroll + i]->name[j]))
291 j = first_alpha(items[scroll + i]->name, "YyNnMm>");
292 if (key == tolower(items[scroll + i]->name[j]))
302 print_item (menu, items[scroll + choice]->name, choice, FALSE,
303 (items[scroll + choice]->tag[0] != ':'));
306 if (choice < 2 && scroll) {
312 scroll--;
314 print_item (menu, items[scroll]->name, 0, FALSE,
315 (items[scroll]->tag[0] != ':'));
321 print_item (menu, items[scroll + choice]->name, choice, FALSE,
322 (items[scroll + choice]->tag[0] != ':'));
325 (scroll + max_choice < item_no)
329 scroll (menu);
332 scroll++;
334 print_item (menu, items[scroll + max_choice - 1]->name,
336 (items[scroll + max_choice - 1]->tag[0] != ':'));
343 if (scroll > 0) {
345 scroll--;
346 print_item (menu, items[scroll]->name, 0, FALSE,
347 (items[scroll]->tag[0] != ':'));
357 if (scroll+max_choice < item_no) {
359 scroll(menu);
361 scroll++;
362 print_item (menu, items[scroll + max_choice - 1]->name,
364 (items[scroll + max_choice - 1]->tag[0] != ':'));
374 print_item (menu, items[scroll + choice]->name, choice, TRUE,
375 (items[scroll + choice]->tag[0] != ':'));
377 print_arrows(dialog, item_no, scroll,
401 /* save scroll info */
403 fprintf(f,"%d\n",scroll);
407 items[scroll + choice]->selected = 1;
421 items[scroll + choice]->selected = 1;