Lines Matching refs:scroll
63 * Print the scroll indicators.
65 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll,
70 if (scroll > 0) {
85 if ((height < item_no) && (scroll + choice < item_no - 1)) {
121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice;
189 scroll = choice - list_height + 1;
190 choice -= scroll;
195 item_set(scroll + i);
199 print_arrows(dialog, choice, item_count(), scroll,
212 item_set(i + scroll);
221 if (!scroll)
226 item_set(scroll);
232 scroll--;
233 item_set(scroll);
236 scroll, box_y, box_x + check_x + 5, list_height);
246 if (scroll + choice >= item_count() - 1)
251 item_set(scroll + max_choice - 1);
259 scroll++;
260 item_set(scroll + max_choice - 1);
264 scroll, box_y, box_x + check_x + 5, list_height);
275 item_set(scroll + choice);
279 item_set(scroll + choice);
298 item_set(scroll + choice);