Lines Matching defs:width
95 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
97 int x = width / 2 - 11;
112 int width, int list_height)
131 if (getmaxx(stdscr) < (width + 6))
137 x = (COLS - width) / 2;
140 draw_shadow(stdscr, y, x, height, width);
142 dialog = newwin(height, width, y, x);
145 draw_box(dialog, 0, 0, height, width,
149 for (i = 0; i < width - 2; i++)
154 print_title(dialog, title, width);
157 print_autowrap(dialog, prompt, width - 2, 1, 3);
159 list_width = width - 6;
161 box_x = (width - list_width) / 2 - 1;
195 print_buttons(dialog, height, width, 0);
302 print_buttons(dialog, height, width, button);