Lines Matching refs:width
47 int width; member
126 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text()
133 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
137 2 + MARGIN, obj->width - 2 * (2 + MARGIN), in repaint_text()
150 for (i = 0; i < (obj->width - 2 * (3 + MARGIN)); i++) in repaint_text()
153 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2); in repaint_text()
161 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100; in repaint_text()
300 int width, in dlg_reallocate_gauge() argument
315 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dlg_reallocate_gauge()
316 dlg_print_size(height, width); in dlg_reallocate_gauge()
317 dlg_ctl_size(height, width); in dlg_reallocate_gauge()
323 width = obj->width; in dlg_reallocate_gauge()
328 int x = dlg_box_x_ordinate(width); in dlg_reallocate_gauge()
330 WINDOW *dialog = dlg_new_window(height, width, y, x); in dlg_reallocate_gauge()
352 obj->width = width; in dlg_reallocate_gauge()
368 int width, in dlg_allocate_gauge() argument
371 return dlg_reallocate_gauge(NULL, title, cprompt, height, width, percent); in dlg_allocate_gauge()
399 int width, in dialog_gauge() argument
404 void *objptr = dlg_allocate_gauge(title, cprompt, height, width, percent); in dialog_gauge()
411 DLG_TRACE2N("width", width); in dialog_gauge()
430 width, in dialog_gauge()