Lines Matching refs:list
29 * Print list item
108 * Display a dialog box with a list of options that can be turned on or off
116 WINDOW *dialog, *list;
163 /* create new window for the list */
164 list = subwin(dialog, list_height, list_width, y + box_y + 1,
167 keypad(list, TRUE);
169 /* draw a box around the list items */
186 /* Print the list */
189 print_item(list, i, i == choice);
198 wnoutrefresh(list);
216 /* Scroll list down */
220 print_item(list, 0, FALSE);
221 scrollok(list, TRUE);
222 wscrl(list, -1);
223 scrollok(list, FALSE);
227 print_item(list, 0, TRUE);
232 wrefresh(list);
241 /* Scroll list up */
245 print_item(list,
248 scrollok(list, TRUE);
249 wscrl(list, 1);
250 scrollok(list, FALSE);
254 print_item(list, max_choice - 1, TRUE);
260 wrefresh(list);
269 print_item(list, choice, FALSE);
273 print_item(list, choice, TRUE);
275 wrefresh(list);
293 delwin(list);
313 delwin(list);
322 delwin(list);