Lines Matching full:width
27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
29 int x = width / 2 - 10; in print_buttons()
42 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
50 if (getmaxx(stdscr) < (width + 4)) in dialog_yesno()
54 x = (COLS - width) / 2; in dialog_yesno()
57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
59 dialog = newwin(height, width, y, x); in dialog_yesno()
62 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
66 for (i = 0; i < width - 2; i++) in dialog_yesno()
71 print_title(dialog, title, width); in dialog_yesno()
74 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
76 print_buttons(dialog, height, width, 0); in dialog_yesno()
95 print_buttons(dialog, height, width, button); in dialog_yesno()