Lines Matching defs:obj
33 DIALOG_CALLBACK obj;
43 get_line(MY_OBJ * obj)
45 FILE *fp = obj->obj.input;
51 obj->is_eof = 1;
69 obj->line[col] = ' ';
76 obj->line[col] = (char) ch;
81 obj->line[col] = '\0';
83 return obj->line;
90 print_line(MY_OBJ * obj, WINDOW *win, int row, int width)
93 char *line = obj->line;
205 MY_OBJ *obj;
251 obj = dlg_calloc(MY_OBJ, 1);
252 assert_ptr(obj, "dlg_progressbox");
254 obj->obj.input = fp;
255 obj->obj.win = dialog;
256 obj->text = text;
259 for (i = 0; get_line(obj); i++) {
261 print_line(obj, text, i, width - (2 * MARGIN));
266 print_line(obj, text, thigh - 1, width - (2 * MARGIN));
270 if (obj->is_eof)
286 free(obj);