Lines Matching refs:height

16 static void frame_setheight(frame_T *curfrp, int height);
21 …win_T *next_curwin, int current, frame_T *topfr, int dir, int col, int row, int width, int height);
28 static void frame_new_height(frame_T *topfrp, int height, int topfirst, int wfh);
62 static int frame_check_height(frame_T *topfrp, int height);
1792 int height = curwin->w_height; in win_totop() local
1812 win_setheight(height); in win_totop()
1831 int height; in win_move_after() local
1850 height = win1->w_prev->w_status_height; in win_move_after()
1852 win1->w_status_height = height; in win_move_after()
1865 height = win1->w_status_height; in win_move_after()
1867 win2->w_status_height = height; in win_move_after()
1923 int height) // new height of frame in win_equal_rec() argument
1939 if (topfr->fr_height != height || topfr->fr_win->w_winrow != row in win_equal_rec()
1944 frame_new_height(topfr, height, FALSE, FALSE); in win_equal_rec()
1953 topfr->fr_height = height; in win_equal_rec()
2084 new_size, height); in win_equal_rec()
2093 topfr->fr_height = height; in win_equal_rec()
2100 if (row + height == cmdline_row && p_ls == 0) in win_equal_rec()
2113 room = height - m; in win_equal_rec()
2182 new_size = height; in win_equal_rec()
2226 height -= new_size; in win_equal_rec()
3140 int height, in frame_new_height() argument
3153 height - topfrp->fr_win->w_status_height in frame_new_height()
3163 frame_new_height(frp, height, topfirst, wfh); in frame_new_height()
3164 if (frp->fr_height > height) in frame_new_height()
3167 height = frp->fr_height; in frame_new_height()
3199 extra_lines = height - topfrp->fr_height; in frame_new_height()
3231 height -= extra_lines; in frame_new_height()
3240 topfrp->fr_height = height; in frame_new_height()
5519 win_setheight(int height) in win_setheight() argument
5521 win_setheight_win(height, curwin); in win_setheight()
5529 win_setheight_win(int height, win_T *win) in win_setheight_win() argument
5537 if (height < p_wmh) in win_setheight_win()
5538 height = p_wmh; in win_setheight_win()
5539 if (height == 0) in win_setheight_win()
5540 height = 1; in win_setheight_win()
5541 height += WINBAR_HEIGHT(curwin); in win_setheight_win()
5544 frame_setheight(win->w_frame, height + win->w_status_height); in win_setheight_win()
5576 frame_setheight(frame_T *curfrp, int height) in frame_setheight() argument
5587 if (curfrp->fr_height == height) in frame_setheight()
5593 if (height > ROWS_AVAIL) in frame_setheight()
5594 height = ROWS_AVAIL; in frame_setheight()
5595 if (height > 0) in frame_setheight()
5596 frame_new_height(curfrp, height, FALSE, FALSE); in frame_setheight()
5603 if (height < h) in frame_setheight()
5604 height = h; in frame_setheight()
5605 frame_setheight(curfrp->fr_parent, height); in frame_setheight()
5644 if (height <= room + room_cmdline) in frame_setheight()
5648 if (height > room + room_cmdline) in frame_setheight()
5649 height = room + room_cmdline; in frame_setheight()
5652 frame_setheight(curfrp->fr_parent, height in frame_setheight()
5660 take = height - curfrp->fr_height; in frame_setheight()
5664 if (height > room + room_cmdline - room_reserved) in frame_setheight()
5665 room_reserved = room + room_cmdline - height; in frame_setheight()
5683 frame_new_height(curfrp, height, FALSE, FALSE); in frame_setheight()
6221 win_new_height(win_T *wp, int height) in win_new_height() argument
6227 if (height < 0) in win_new_height()
6228 height = 0; in win_new_height()
6229 if (wp->w_height == height) in win_new_height()
6245 wp->w_height = height; in win_new_height()
6259 int height = wp->w_height; in scroll_to_fraction() local
6266 if (height > 0 in scroll_to_fraction()
6268 && (height < wp->w_buffer->b_ml.ml_line_count || wp->w_topline > 1)) in scroll_to_fraction()
6277 wp->w_wrow = ((long)wp->w_fraction * (long)height - 1L) in scroll_to_fraction()
6903 frame_check_height(frame_T *topfrp, int height) in frame_check_height() argument
6907 if (topfrp->fr_height != height) in frame_check_height()
6912 if (frp->fr_height != height) in frame_check_height()