Lines Matching defs:list
16 * Print list item
101 * Display a dialog box with a list of options that can be turned on or off
109 WINDOW *dialog, *list;
156 /* create new window for the list */
157 list = subwin(dialog, list_height, list_width, y + box_y + 1,
160 keypad(list, TRUE);
162 /* draw a box around the list items */
180 /* Print the list */
183 print_item(list, i, i == choice);
191 wmove(list, choice, check_x + 1);
192 wrefresh(list);
209 /* Scroll list down */
213 print_item(list, 0, FALSE);
214 scrollok(list, TRUE);
215 wscrl(list, -1);
216 scrollok(list, FALSE);
220 print_item(list, 0, TRUE);
225 wrefresh(list);
234 /* Scroll list up */
238 print_item(list,
241 scrollok(list, TRUE);
242 wscrl(list, 1);
243 scrollok(list, FALSE);
247 print_item(list, max_choice - 1, TRUE);
253 wrefresh(list);
262 print_item(list, choice, FALSE);
266 print_item(list, choice, TRUE);
268 wrefresh(list);
286 delwin(list);
306 delwin(list);
315 delwin(list);