Lines Matching refs:width
47 int width; member
127 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text()
134 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
138 2 + MARGIN, obj->width - 2 * (2 + MARGIN), in repaint_text()
151 for (i = 0; i < (obj->width - 2 * (3 + MARGIN)); i++) in repaint_text()
154 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2); in repaint_text()
162 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100; in repaint_text()
301 int width, in dlg_reallocate_gauge() argument
316 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dlg_reallocate_gauge()
317 dlg_print_size(height, width); in dlg_reallocate_gauge()
318 dlg_ctl_size(height, width); in dlg_reallocate_gauge()
324 width = obj->width; in dlg_reallocate_gauge()
329 int x = dlg_box_x_ordinate(width); in dlg_reallocate_gauge()
331 WINDOW *dialog = dlg_new_window(height, width, y, x); in dlg_reallocate_gauge()
353 obj->width = width; in dlg_reallocate_gauge()
369 int width, in dlg_allocate_gauge() argument
372 return dlg_reallocate_gauge(NULL, title, cprompt, height, width, percent); in dlg_allocate_gauge()
404 int width, in dialog_gauge() argument
409 void *objptr = dlg_allocate_gauge(title, cprompt, height, width, percent); in dialog_gauge()
416 DLG_TRACE2N("width", width); in dialog_gauge()
434 width, in dialog_gauge()