Lines Matching refs:height
101 static void print_page(WINDOW *win, int height, int width) in print_page() argument
106 for (i = 0; i < height; i++) { in print_page()
156 int height, width, boxh, boxw; in dialog_textbox() local
177 getmaxyx(stdscr, height, width); in dialog_textbox()
178 if (height < TEXTBOX_HEIGHT_MIN || width < TEXTBOX_WIDTH_MIN) in dialog_textbox()
181 height = initial_height; in dialog_textbox()
183 if (height > 4) in dialog_textbox()
184 height -= 4; in dialog_textbox()
186 height = 0; in dialog_textbox()
197 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox()
199 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
201 dialog = newwin(height, width, y, x); in dialog_textbox()
205 boxh = height - 4; in dialog_textbox()
214 draw_box(dialog, 0, 0, height, width, in dialog_textbox()
218 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_textbox()
227 print_button(dialog, " Exit ", height - 2, width / 2 - 4, TRUE); in dialog_textbox()
330 back_lines(height); in dialog_textbox()