Lines Matching defs:height
35 int dialog_prgbox(unsigned char *title, const unsigned char *line, int height, int width, int pause, int use_shell)
44 if (height < 0 || width < 0) {
53 if (height > LINES)
54 height = LINES;
57 y = DialogY ? DialogY : (LINES - height)/2;
61 draw_shadow(stdscr, y, x, height, width);
63 dialog = newwin(height, width, y, x);
66 fprintf(stderr, "\nnewwin(%d,%d,%d,%d) failed, maybe wrong dims\n", height,width,y,x);
71 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
103 print_autowrap(dialog, buf, height-(pause?3:1), width-2, width, 1, 2, FALSE, TRUE);
113 print_autowrap(dialog, buf, height-(pause?3:1), width-2, width, 1, 2, FALSE, TRUE);
114 print_autowrap(dialog, "\n", height-(pause?3:1), width-2, width, 1, 2, FALSE, FALSE);
127 wmove(dialog, height-3, 0);
133 wmove(dialog, height-2, 1);
136 display_helpline(dialog, height-1, width);
137 print_button(dialog, " OK ", height-2, width/2-6, TRUE);