Lines Matching full:choice
78 int choice; /* index of the selection */ member
96 list->choice = 0; in init_list()
121 return list->data[list->choice]; in data_of()
164 if (list->choice < list->offset) { in keep_visible()
165 list->offset = list->choice; in keep_visible()
167 if (list->choice - list->offset >= high) in keep_visible()
168 list->offset = list->choice - high + 1; in keep_visible()
176 int choice = list->choice; in find_choice() local
179 list->choice = 0; in find_choice()
208 list->choice = n; in find_choice()
212 if (choice != list->choice) { in find_choice()
215 return (choice != list->choice); in find_choice()
234 if (n == list->choice) in display_list()
257 (void) wmove(list->win, list->choice - list->offset, 0); in display_list()
324 change_list(int choice, LIST * list) in change_list() argument
329 choice += list->choice; in change_list()
330 if (choice < 0) in change_list()
331 choice = 0; in change_list()
332 if (choice > last) in change_list()
333 choice = last; in change_list()
334 list->choice = choice; in change_list()
531 d_list->offset = d_list->choice; in fill_lists()
532 f_list->offset = f_list->choice; in fill_lists()
898 f_list.choice = (key - DLGK_MOUSE(MOUSE_F)) + f_list.offset; in dlg_fselect()
905 d_list.choice = (key - DLGK_MOUSE(MOUSE_D)) + d_list.offset; in dlg_fselect()