Home | History | Annotate | Download | only in dist

Lines Matching defs:border

42 /* Border in relation to a pane. */
53 /* Get cell border character. */
119 /* Check if cell is on the border of a pane. */
140 switch (options_get_number(oo, "pane-border-indicators")) {
154 * active window's border when there are two panes.
212 /* Check if a cell is on a border. */
228 /* On the window border? */
249 /* Work out type of border cell from surrounding cells. */
300 * Figure out what kind of border this cell is. Only one bit set
301 * doesn't make sense (can't have a border cell with no others
341 int border, pane_scrollbars = ctx->pane_scrollbars;
350 if (px == sx || py == sy) /* window border */
411 * If definitely inside, return. If not on border, skip.
414 border = screen_redraw_pane_border(ctx, wp, px, py);
415 if (border == SCREEN_REDRAW_INSIDE)
417 if (border == SCREEN_REDRAW_OUTSIDE)
430 /* Check if the border of a particular pane. */
435 enum screen_redraw_border_type border;
437 border = screen_redraw_pane_border(ctx, wp, px, py);
438 if (border != SCREEN_REDRAW_INSIDE && border != SCREEN_REDRAW_OUTSIDE)
466 style_apply(&gc, w->options, "pane-active-border-style", ft);
468 style_apply(&gc, w->options, "pane-border-style", ft);
469 fmt = options_get_string(wp->options, "pane-border-format");
627 ctx->pane_status = options_get_number(wo, "pane-border-status");
628 ctx->pane_lines = options_get_number(wo, "pane-border-lines");
708 /* Get border cell style. */
726 style_apply(&wp->border_gc, oo, "pane-active-border-style", ft);
728 style_apply(&wp->border_gc, oo, "pane-border-style", ft);
734 /* Draw a border cell. */
749 int arrows = 0, border, isolates;
765 style_add(&ctx->no_pane_gc, oo, "pane-border-style",
797 switch (options_get_number(oo, "pane-border-indicators")) {
805 border = screen_redraw_pane_border(ctx, active, x, y);
809 border == SCREEN_REDRAW_BORDER_BOTTOM) ||
811 border == SCREEN_REDRAW_BORDER_TOP))) ||
815 border == SCREEN_REDRAW_BORDER_RIGHT) ||
817 border == SCREEN_REDRAW_BORDER_LEFT)))) &&
820 utf8_set(&gc.data, BORDER_MARKERS[border]);