Lines Matching refs:width
15 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
17 int x = width / 2 - 10; in print_buttons()
30 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
38 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno()
42 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno()
45 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
47 dialog = newwin(height, width, y, x); in dialog_yesno()
50 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
54 for (i = 0; i < width - 2; i++) in dialog_yesno()
59 print_title(dialog, title, width); in dialog_yesno()
62 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
64 print_buttons(dialog, height, width, 0); in dialog_yesno()
83 print_buttons(dialog, height, width, button); in dialog_yesno()