Lines Matching refs:width
101 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
103 int x = width / 2 - 11; in print_buttons()
118 int width, int list_height) in dialog_checklist() argument
137 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist()
143 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist()
146 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
148 dialog = newwin(height, width, y, x); in dialog_checklist()
151 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
155 for (i = 0; i < width - 2; i++) in dialog_checklist()
160 print_title(dialog, title, width); in dialog_checklist()
163 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_checklist()
165 list_width = width - 6; in dialog_checklist()
167 box_x = (width - list_width) / 2 - 1; in dialog_checklist()
202 print_buttons(dialog, height, width, 0); in dialog_checklist()
309 print_buttons(dialog, height, width, button); in dialog_checklist()