Lines Matching defs:list
29 * Print list item
108 * Display a dialog box with a list of options that can be turned on or off
117 WINDOW *dialog, *list;
165 /* create new window for the list */
166 list = subwin(dialog, list_height, list_width, y + box_y + 1,
169 keypad(list, TRUE);
171 /* draw a box around the list items */
188 /* Print the list */
190 print_item(list, items[(scroll + i) * 3 + 1],
200 wnoutrefresh(list);
217 /* Scroll list down */
220 print_item(list, items[scroll * 3 + 1],
222 scrollok(list, TRUE);
223 wscrl(list, -1);
224 scrollok(list, FALSE);
227 print_item(list, items[scroll * 3 + 1], status[scroll], 0, TRUE);
232 wrefresh(list);
241 /* Scroll list up */
244 print_item(list, items[(scroll + max_choice - 1) * 3 + 1],
247 scrollok(list, TRUE);
248 wscrl(list, 1);
249 scrollok(list, FALSE);
252 print_item(list, items[(scroll + max_choice - 1) * 3 + 1],
259 wrefresh(list);
267 print_item(list, items[(scroll + choice) * 3 + 1],
271 print_item(list, items[(scroll + choice) * 3 + 1],
274 wrefresh(list);
305 print_item(list, items[(scroll + i) * 3 + 1],
309 wrefresh(list);