Lines Matching refs:scroll
50 * Print the scroll indicators.
52 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll,
57 if (scroll > 0) {
72 if ((height < item_no) && (scroll + choice < item_no - 1)) {
108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice;
176 scroll = choice - list_height + 1;
177 choice -= scroll;
182 item_set(scroll + i);
186 print_arrows(dialog, choice, item_count(), scroll,
199 item_set(i + scroll);
208 if (!scroll)
213 item_set(scroll);
219 scroll--;
220 item_set(scroll);
223 scroll, box_y, box_x + check_x + 5, list_height);
233 if (scroll + choice >= item_count() - 1)
238 item_set(scroll + max_choice - 1);
246 scroll++;
247 item_set(scroll + max_choice - 1);
251 scroll, box_y, box_x + check_x + 5, list_height);
262 item_set(scroll + choice);
266 item_set(scroll + choice);
285 item_set(scroll + choice);