Lines Matching defs:width
101 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
103 int x = width / 2 - 11;
118 int width, int list_height)
137 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN))
143 x = (getmaxx(stdscr) - width) / 2;
146 draw_shadow(stdscr, y, x, height, width);
148 dialog = newwin(height, width, y, x);
151 draw_box(dialog, 0, 0, height, width,
155 for (i = 0; i < width - 2; i++)
160 print_title(dialog, title, width);
163 print_autowrap(dialog, prompt, width - 2, 1, 3);
165 list_width = width - 6;
167 box_x = (width - list_width) / 2 - 1;
202 print_buttons(dialog, height, width, 0);
309 print_buttons(dialog, height, width, button);