Lines Matching refs:topfrp
15 static void frame_comp_pos(frame_T *topfrp, int *row, int *col);
28 static void frame_new_height(frame_T *topfrp, int height, int topfirst, int wfh);
32 static void frame_new_width(frame_T *topfrp, int width, int leftfirst, int wfw);
34 static int frame_minwidth(frame_T *topfrp, win_T *next_curwin);
42 static int frame_minheight(frame_T *topfrp, win_T *next_curwin);
62 static int frame_check_height(frame_T *topfrp, int height);
63 static int frame_check_width(frame_T *topfrp, int width);
3139 frame_T *topfrp, in frame_new_height() argument
3149 if (topfrp->fr_win != NULL) in frame_new_height()
3152 win_new_height(topfrp->fr_win, in frame_new_height()
3153 height - topfrp->fr_win->w_status_height in frame_new_height()
3154 - WINBAR_HEIGHT(topfrp->fr_win)); in frame_new_height()
3156 else if (topfrp->fr_layout == FR_ROW) in frame_new_height()
3161 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_new_height()
3179 frp = topfrp->fr_child; in frame_new_height()
3199 extra_lines = height - topfrp->fr_height; in frame_new_height()
3240 topfrp->fr_height = height; in frame_new_height()
3341 frame_T *topfrp, in frame_new_width() argument
3352 if (topfrp->fr_layout == FR_LEAF) in frame_new_width()
3355 wp = topfrp->fr_win; in frame_new_width()
3357 for (frp = topfrp; frp->fr_parent != NULL; frp = frp->fr_parent) in frame_new_width()
3364 else if (topfrp->fr_layout == FR_COL) in frame_new_width()
3369 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_new_width()
3386 frp = topfrp->fr_child; in frame_new_width()
3406 extra_cols = width - topfrp->fr_width; in frame_new_width()
3447 topfrp->fr_width = width; in frame_new_width()
3511 frame_minheight(frame_T *topfrp, win_T *next_curwin) in frame_minheight() argument
3517 if (topfrp->fr_win != NULL) in frame_minheight()
3519 if (topfrp->fr_win == next_curwin) in frame_minheight()
3520 m = p_wh + topfrp->fr_win->w_status_height; in frame_minheight()
3524 m = p_wmh + topfrp->fr_win->w_status_height; in frame_minheight()
3525 if (topfrp->fr_win == curwin && next_curwin == NULL) in frame_minheight()
3535 else if (topfrp->fr_layout == FR_ROW) in frame_minheight()
3539 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_minheight()
3550 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_minheight()
3565 frame_T *topfrp, in frame_minwidth() argument
3571 if (topfrp->fr_win != NULL) in frame_minwidth()
3573 if (topfrp->fr_win == next_curwin) in frame_minwidth()
3574 m = p_wiw + topfrp->fr_win->w_vsep_width; in frame_minwidth()
3578 m = p_wmw + topfrp->fr_win->w_vsep_width; in frame_minwidth()
3580 if (p_wmw == 0 && topfrp->fr_win == curwin && next_curwin == NULL) in frame_minwidth()
3584 else if (topfrp->fr_layout == FR_COL) in frame_minwidth()
3588 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_minwidth()
3599 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_minwidth()
5475 frame_comp_pos(frame_T *topfrp, int *row, int *col) in frame_comp_pos() argument
5483 wp = topfrp->fr_win; in frame_comp_pos()
5496 *row += h > topfrp->fr_height ? topfrp->fr_height : h; in frame_comp_pos()
5503 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_comp_pos()
5505 if (topfrp->fr_layout == FR_ROW) in frame_comp_pos()
6903 frame_check_height(frame_T *topfrp, int height) in frame_check_height() argument
6907 if (topfrp->fr_height != height) in frame_check_height()
6910 if (topfrp->fr_layout == FR_ROW) in frame_check_height()
6911 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_check_height()
6922 frame_check_width(frame_T *topfrp, int width) in frame_check_width() argument
6926 if (topfrp->fr_width != width) in frame_check_width()
6929 if (topfrp->fr_layout == FR_COL) in frame_check_width()
6930 FOR_ALL_FRAMES(frp, topfrp->fr_child) in frame_check_width()