Lines Matching refs:choice

33 	    int choice, int selected)  in print_item()  argument
39 wmove (win, choice, 0); in print_item()
43 wmove (win, choice, check_x); in print_item()
51 mvwaddch(win, choice, item_x, item[0]); in print_item()
55 wmove (win, choice, check_x+1); in print_item()
64 print_arrows (WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument
85 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
125 int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status; in dialog_checklist() local
141 if (!choice && status[i]) in dialog_checklist()
142 choice = i; in dialog_checklist()
203 if (choice >= list_height) { in dialog_checklist()
204 scroll = choice - list_height + 1; in dialog_checklist()
205 choice -= scroll; in dialog_checklist()
211 status[i+scroll], i, i == choice); in dialog_checklist()
214 print_arrows(dialog, choice, item_no, scroll, in dialog_checklist()
234 if (!choice) { in dialog_checklist()
251 print_arrows(dialog, choice, item_no, scroll, in dialog_checklist()
258 i = choice - 1; in dialog_checklist()
260 if (choice == max_choice - 1) { in dialog_checklist()
261 if (scroll + choice >= item_no - 1) in dialog_checklist()
279 print_arrows(dialog, choice, item_no, scroll, in dialog_checklist()
286 i = choice + 1; in dialog_checklist()
288 if (i != choice) { in dialog_checklist()
290 print_item (list, items[(scroll + choice) * 3 + 1], in dialog_checklist()
291 status[scroll + choice], choice, FALSE); in dialog_checklist()
293 choice = i; in dialog_checklist()
294 print_item (list, items[(scroll + choice) * 3 + 1], in dialog_checklist()
295 status[scroll + choice], choice, TRUE); in dialog_checklist()
323 status[scroll + choice] = !status[scroll + choice]; in dialog_checklist()
324 wmove (list, choice, check_x); in dialog_checklist()
326 wprintw (list, "[%c]", status[scroll + choice] ? 'X' : ' '); in dialog_checklist()
328 if (!status[scroll + choice]) { in dialog_checklist()
331 status[scroll + choice] = 1; in dialog_checklist()
334 status[scroll + i], i, i == choice); in dialog_checklist()