Lines Matching defs:width
88 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
90 int x = width / 2 - 11;
105 int width, int list_height)
124 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN))
130 x = (getmaxx(stdscr) - width) / 2;
133 draw_shadow(stdscr, y, x, height, width);
135 dialog = newwin(height, width, y, x);
138 draw_box(dialog, 0, 0, height, width,
142 for (i = 0; i < width - 2; i++)
147 print_title(dialog, title, width);
150 print_autowrap(dialog, prompt, width - 2, 1, 3);
152 list_width = width - 6;
154 box_x = (width - list_width) / 2 - 1;
189 print_buttons(dialog, height, width, 0);
296 print_buttons(dialog, height, width, button);