Lines Matching full:rows
56 load_list(const char *file, char ***list, int *rows) in load_list() argument
63 *rows = 0; in load_list()
118 grow_list(list, rows, (int) need + 1); in load_list()
126 free_list(char ***list, int *rows) in free_list() argument
130 for (n = 0; n < (*rows); ++n) { in free_list()
137 *rows = 0; in free_list()
211 scroll_to(int pagesize, int rows, int *base_row, int *this_row, int target) in scroll_to() argument
229 } else if (target >= rows) { in scroll_to()
230 if (*this_row < rows - 1) { in scroll_to()
231 *this_row = rows - 1; in scroll_to()
232 *base_row = rows - 1; in scroll_to()
245 if (pagesize < rows) { in scroll_to()
246 if (*base_row + pagesize >= rows) { in scroll_to()
247 *base_row = rows - pagesize; in scroll_to()
324 int *rows, in dlg_editbox() argument
373 /* FIXME dump the rows & list */ in dlg_editbox()
689 grow_list(list, rows, listsize + 1); in dlg_editbox()
765 int rows; in dialog_editbox() local
767 load_list(file, &list, &rows); in dialog_editbox()
768 result = dlg_editbox(title, &list, &rows, height, width); in dialog_editbox()
769 free_list(&list, &rows); in dialog_editbox()