Lines Matching refs:choice
78 int choice; /* index of the selection */
96 list->choice = 0;
121 return list->data[list->choice];
164 if (list->choice < list->offset) {
165 list->offset = list->choice;
167 if (list->choice - list->offset >= high)
168 list->offset = list->choice - high + 1;
177 int choice = list->choice;
181 list->choice = 0;
206 list->choice = n;
210 if (choice != list->choice) {
213 return (choice != list->choice);
232 if (n == list->choice)
255 (void) wmove(list->win, list->choice - list->offset, 0);
317 change_list(int choice, LIST * list)
322 choice += list->choice;
323 if (choice < 0)
324 choice = 0;
325 if (choice > last)
326 choice = last;
327 list->choice = choice;
506 d_list->offset = d_list->choice;
507 f_list->offset = f_list->choice;
864 f_list.choice = (key - DLGK_MOUSE(MOUSE_F)) + f_list.offset;
871 d_list.choice = (key - DLGK_MOUSE(MOUSE_D)) + d_list.offset;