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