Lines Matching refs:width
89 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
91 int x = width / 2 - 11; in print_buttons()
106 int width, int list_height) in dialog_checklist() argument
125 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist()
131 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist()
134 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
136 dialog = newwin(height, width, y, x); in dialog_checklist()
139 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
143 for (i = 0; i < width - 2; i++) in dialog_checklist()
148 print_title(dialog, title, width); in dialog_checklist()
151 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_checklist()
153 list_width = width - 6; in dialog_checklist()
155 box_x = (width - list_width) / 2 - 1; in dialog_checklist()
190 print_buttons(dialog, height, width, 0); in dialog_checklist()
297 print_buttons(dialog, height, width, button); in dialog_checklist()