layout_cell
struct layout_cell *lc;
struct layout_cell *cells[nitems(offsets)], *lc;
if (wp->layout_cell != NULL)
wp->layout_cell->wp = wp;
struct layout_cell *lc;
lc = wp->layout_cell;
wp->layout_cell = wp2->layout_cell;
if (wp->layout_cell != NULL)
wp->layout_cell->wp = wp;
wp->layout_cell = lc;
if (wp->layout_cell != NULL)
wp->layout_cell->wp = wp;
lc = wp->layout_cell;
wp->layout_cell = wp2->layout_cell;
if (wp->layout_cell != NULL)
wp->layout_cell->wp = wp;
wp->layout_cell = lc;
struct layout_cell *lc;
src_wp->layout_cell = dst_lc;
struct layout_cell *src_lc, *dst_lc;
src_lc = src_wp->layout_cell;
dst_lc = dst_wp->layout_cell;
dst_wp->layout_cell = src_lc;
layout_check(struct layout_cell *lc)
struct layout_cell *lcchild;
struct layout_cell *lc, *lcchild;
static struct layout_cell *layout_find_bottomright(struct layout_cell *);
layout_assign(struct window_pane **wp, struct layout_cell *lc)
struct layout_cell *lcchild;
static int layout_append(struct layout_cell *, char *,
static struct layout_cell *
layout_construct(struct layout_cell *lcparent, const char **layout)
struct layout_cell *lc, *lcchild;
static struct layout_cell *layout_construct(struct layout_cell *,
struct layout_cell *);
static struct layout_cell *
layout_find_bottomright(struct layout_cell *lc)
layout_dump(__unused struct window *w, struct layout_cell *root)
layout_append(struct layout_cell *lc, char *buf, size_t len)
struct layout_cell *lcchild;
struct layout_cell *lc, *lcnew;
struct layout_cell *lc, *lcmain, *lcother, *lcchild;
struct layout_cell *lc, *lcmain, *lcother, *lcchild;
struct layout_cell *lc, *lcmain, *lcother, *lcchild;
struct layout_cell *lc, *lcmain, *lcother, *lcchild;
struct layout_cell *lc, *lcrow, *lcchild;
layout_destroy_cell(w, wp->layout_cell, &w->layout_root);
layout_spread_cell(struct window *w, struct layout_cell *parent)
struct layout_cell *lc;
struct layout_cell *parent;
parent = wp->layout_cell->parent;
struct layout_cell *
layout_search_by_border(struct layout_cell *lc, u_int x, u_int y)
struct layout_cell *lcchild, *last = NULL;
layout_set_size(struct layout_cell *lc, u_int sx, u_int sy, u_int xoff,
layout_make_leaf(struct layout_cell *lc, struct window_pane *wp)
wp->layout_cell = lc;
layout_make_node(struct layout_cell *lc, enum layout_type type)
lc->wp->layout_cell = NULL;
layout_fix_offsets1(struct layout_cell *lc)
struct layout_cell *lcchild;
struct layout_cell *lc = w->layout_root;
layout_cell_is_top(struct window *w, struct layout_cell *lc)
struct layout_cell *next;
layout_cell_is_bottom(struct window *w, struct layout_cell *lc)
struct layout_cell *next;
layout_add_horizontal_border(struct window *w, struct layout_cell *lc,
struct layout_cell *lc;
if ((lc = wp->layout_cell) == NULL || wp == skip)
layout_count_cells(struct layout_cell *lc)
struct layout_cell *lcchild;
static u_int layout_resize_check(struct window *, struct layout_cell *,
layout_resize_check(struct window *w, struct layout_cell *lc,
struct layout_cell *lcchild;
static int layout_resize_pane_grow(struct window *, struct layout_cell *,
static int layout_resize_pane_shrink(struct window *, struct layout_cell *,
layout_resize_adjust(struct window *w, struct layout_cell *lc,
struct layout_cell *lcchild;
struct layout_cell *, enum layout_type, u_int, u_int,
static int layout_set_size_check(struct window *, struct layout_cell *,
layout_destroy_cell(struct window *w, struct layout_cell *lc,
struct layout_cell **lcroot)
struct layout_cell *lcother, *lcparent;
struct layout_cell *);
struct layout_cell *
layout_create_cell(struct layout_cell *lcparent)
struct layout_cell *lc;
struct layout_cell *lc;
struct layout_cell *lc = w->layout_root;
struct layout_cell *lc, *lcparent;
lc = wp->layout_cell;
layout_resize_layout(struct window *w, struct layout_cell *lc,
struct layout_cell *lc, *lcparent;
lc = wp->layout_cell;
layout_resize_pane_grow(struct window *w, struct layout_cell *lc,
struct layout_cell *lcadd, *lcremove;
layout_resize_pane_shrink(struct window *w, struct layout_cell *lc,
struct layout_cell *lcadd, *lcremove;
layout_free_cell(struct layout_cell *lc)
layout_assign_pane(struct layout_cell *lc, struct window_pane *wp,
struct layout_cell *lcchild;
layout_new_pane_size(struct window *w, u_int previous, struct layout_cell *lc,
layout_set_size_check(struct window *w, struct layout_cell *lc,
struct layout_cell *lcchild;
layout_resize_child_cells(struct window *w, struct layout_cell *lc)
struct layout_cell *lcchild;
lc->wp->layout_cell = NULL;
struct layout_cell *
struct layout_cell *lc, *lcparent, *lcnew, *lc1, *lc2;
lc = wp->layout_cell;
layout_print_cell(struct layout_cell *lc, const char *hdr, u_int n)
struct layout_cell *lcchild;
struct layout_cell *lc;
if (wp->layout_cell == NULL)
struct layout_cell *layout_cell;
struct layout_cell *saved_layout_cell;
struct layout_cell *layout_root;
struct layout_cell *saved_layout_root;
TAILQ_HEAD(layout_cells, layout_cell);
struct layout_cell *parent;
TAILQ_ENTRY(layout_cell) entry;
struct layout_cell *lc;
struct layout_cell *layout_create_cell(struct layout_cell *);
struct layout_cell *layout_search_by_border(struct layout_cell *, u_int, u_int);
struct layout_cell *layout_split_pane(struct window_pane *, enum layout_type,
wp1->saved_layout_cell = wp1->layout_cell;
wp1->layout_cell = NULL;
wp->layout_cell = wp->saved_layout_cell;