Lines Matching refs: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
48 x = (COLS - width) / 2; in dialog_yesno()
51 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
53 dialog = newwin(height, width, y, x); in dialog_yesno()
56 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_yesno()
59 for (i = 0; i < width - 2; i++) in dialog_yesno()
64 print_title(dialog, title, width); in dialog_yesno()
67 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
69 print_buttons(dialog, height, width, 0); in dialog_yesno()
88 print_buttons(dialog, height, width, button); in dialog_yesno()