Lines Matching refs:height
241 dlg_attr_clear(WINDOW *win, int height, int width, chtype attr) in dlg_attr_clear() argument
246 for (i = 0; i < height; i++) { in dlg_attr_clear()
1108 dlg_print_autowrap(WINDOW *win, const char *prompt, int height, int width) in dlg_print_autowrap() argument
1111 height, in dlg_print_autowrap()
1128 int height, in dlg_print_scrolled() argument
1156 dlg_print_autowrap(win, prompt, height + 1 + (3 * MARGIN), width); in dlg_print_scrolled()
1174 height, /* dmaxrow */ in dlg_print_scrolled()
1182 int percent = (int) ((height + offset) * 100.0 / y); in dlg_print_scrolled()
1193 (void) wmove(win, MARGIN + height, wide - 4); in dlg_print_scrolled()
1202 last = (y - height); in dlg_print_scrolled()
1209 dlg_print_autowrap(win, prompt, height + 1 + (3 * MARGIN), width); in dlg_print_scrolled()
1278 auto_size_preformatted(const char *prompt, int *height, int *width) in auto_size_preformatted() argument
1313 *height = high; in auto_size_preformatted()
1347 int *height, int *width, in real_auto_size() argument
1354 int save_high = *height; in real_auto_size()
1360 if (*height == 0) in real_auto_size()
1361 *height = -1; in real_auto_size()
1366 max_high = (*height < 0); in real_auto_size()
1369 if (*height > 0) { in real_auto_size()
1370 high = *height; in real_auto_size()
1387 justify_text((WINDOW *) 0, prompt, high, wide, height, width); in real_auto_size()
1389 auto_size_preformatted(prompt, height, width); in real_auto_size()
1393 justify_text((WINDOW *) 0, prompt, high, wide, height, width); in real_auto_size()
1398 justify_text((WINDOW *) 0, prompt, high, title_length, height, width); in real_auto_size()
1402 dialog_state.text_height = *height; in real_auto_size()
1409 *height += boxlines + (2 * MARGIN); in real_auto_size()
1413 *height = save_high; in real_auto_size()
1418 *height = SLINES - (dialog_vars.begin_set ? dialog_vars.begin_y : 0); in real_auto_size()
1428 int *height, in dlg_auto_size() argument
1434 *height, *width, in dlg_auto_size()
1437 real_auto_size(title, prompt, height, width, boxlines, mincols); in dlg_auto_size()
1440 (*height)++; in dlg_auto_size()
1444 if (*height > SLINES) { in dlg_auto_size()
1445 *height = SLINES; in dlg_auto_size()
1448 *height, *width, in dlg_auto_size()
1461 int *height, in dlg_auto_sizefile() argument
1476 if ((*height == -1) || (*width == -1)) { in dlg_auto_sizefile()
1477 *height = SLINES - (dialog_vars.begin_set ? dialog_vars.begin_y : 0); in dlg_auto_sizefile()
1480 if ((*height != 0) && (*width != 0)) { in dlg_auto_sizefile()
1484 if (*height > SLINES) in dlg_auto_sizefile()
1485 *height = SLINES; in dlg_auto_sizefile()
1513 *height = MIN(SLINES, count + numlines + boxlines); in dlg_auto_sizefile()
1539 dlg_draw_box2(WINDOW *win, int y, int x, int height, int width, in dlg_draw_box2() argument
1546 for (i = 0; i < height; i++) { in dlg_draw_box2()
1551 else if (i == height - 1 && !j) in dlg_draw_box2()
1555 else if (i == height - 1 && j == width - 1) in dlg_draw_box2()
1559 else if (i == height - 1) in dlg_draw_box2()
1572 dlg_draw_box(WINDOW *win, int y, int x, int height, int width, in dlg_draw_box() argument
1575 dlg_draw_box2(win, y, x, height, width, boxchar, borderchar, boxchar); in dlg_draw_box()
1755 repaint_shadow(DIALOG_WINDOWS * dw, bool draw, int y, int x, int height, int width) in repaint_shadow() argument
1766 RepaintCell(dw, draw, i + y + height, j + x + SHADOW_COLS); in repaint_shadow()
1769 for (i = 0; i < height; i++) { in repaint_shadow()
1820 dlg_draw_shadow(WINDOW *win, int y, int x, int height, int width) in dlg_draw_shadow() argument
1822 repaint_shadow(SearchTopWindows(win), TRUE, y, x, height, width); in dlg_draw_shadow()
2034 dlg_print_size(int height, int width) in dlg_print_size() argument
2037 fprintf(dialog_state.output, "Size: %d, %d\n", height, width); in dlg_print_size()
2038 DLG_TRACE(("# print size: %dx%d\n", height, width)); in dlg_print_size()
2043 dlg_ctl_size(int height, int width) in dlg_ctl_size() argument
2046 if ((width > COLS) || (height > LINES)) { in dlg_ctl_size()
2048 height, width, LINES, COLS); in dlg_ctl_size()
2052 && ((width > SCOLS || height > SLINES))) { in dlg_ctl_size()
2053 if ((width <= COLS) && (height <= LINES)) { in dlg_ctl_size()
2058 height, width, SLINES, SCOLS); in dlg_ctl_size()
2082 dlg_calc_listh(int *height, int *list_height, int item_no) in dlg_calc_listh() argument
2086 if (rows - (*height) > 0) { in dlg_calc_listh()
2087 if (rows - (*height) > item_no) in dlg_calc_listh()
2090 *list_height = rows - (*height); in dlg_calc_listh()
2092 (*height) += (*list_height); in dlg_calc_listh()
2217 dlg_box_y_ordinate(int height) in dlg_box_y_ordinate() argument
2225 y = (SLINES - height) / 2; in dlg_box_y_ordinate()
2250 int height = getmaxy(win); in dlg_draw_bottom_box2() local
2254 (void) wmove(win, height - 3, 0); in dlg_draw_bottom_box2()
2261 (void) wmove(win, height - 2, 1); in dlg_draw_bottom_box2()
2329 dlg_new_window(int height, int width, int y, int x) in dlg_new_window() argument
2331 return dlg_new_modal_window(stdscr, height, width, y, x); in dlg_new_window()
2339 dlg_new_modal_window(WINDOW *parent, int height, int width, int y, int x) in dlg_new_modal_window() argument
2346 || (win = newwin(height, width, y, x)) == 0) { in dlg_new_modal_window()
2348 y, x, height, width); in dlg_new_modal_window()
2413 dlg_move_window(WINDOW *win, int height, int width, int y, int x) in dlg_move_window() argument
2418 dlg_ctl_size(height, width); in dlg_move_window()
2421 (void) wresize(win, height, width); in dlg_move_window()
2476 dlg_der_window(WINDOW *parent, int height, int width, int y, int x) in dlg_der_window() argument
2483 if ((win = derwin(parent, height, width, y, x)) != 0) { in dlg_der_window()
2491 dlg_sub_window(WINDOW *parent, int height, int width, int y, int x) in dlg_sub_window() argument
2495 if ((win = subwin(parent, height, width, y, x)) == 0) { in dlg_sub_window()
2497 y, x, height, width); in dlg_sub_window()