Lines Matching defs:border
53 /* Get cell border character. */
115 /* Check if cell is on the border of a pane. */
131 switch (options_get_number(oo, "pane-border-indicators")) {
145 * active window's border when there are two panes.
195 /* Check if a cell is on a border. */
211 /* On the window border? */
232 /* Work out type of border cell from surrounding cells. */
283 * Figure out what kind of border this cell is. Only one bit set
284 * doesn't make sense (can't have a border cell with no others
324 int border, pane_scrollbars = ctx->pane_scrollbars;
333 if (px == sx || py == sy) /* window border */
394 * If definitely inside, return. If not on border, skip.
397 border = screen_redraw_pane_border(ctx, wp, px, py);
398 if (border == SCREEN_REDRAW_INSIDE)
400 if (border == SCREEN_REDRAW_OUTSIDE)
413 /* Check if the border of a particular pane. */
418 enum screen_redraw_border_type border;
420 border = screen_redraw_pane_border(ctx, wp, px, py);
421 if (border != SCREEN_REDRAW_INSIDE && border != SCREEN_REDRAW_OUTSIDE)
445 style_apply(&gc, w->options, "pane-active-border-style", ft);
447 style_apply(&gc, w->options, "pane-border-style", ft);
448 fmt = options_get_string(wp->options, "pane-border-format");
606 ctx->pane_status = options_get_number(wo, "pane-border-status");
607 ctx->pane_lines = options_get_number(wo, "pane-border-lines");
687 /* Get border cell style. */
705 style_apply(&wp->border_gc, oo, "pane-active-border-style", ft);
707 style_apply(&wp->border_gc, oo, "pane-border-style", ft);
713 /* Draw a border cell. */
728 int arrows = 0, border, isolates;
744 style_add(&ctx->no_pane_gc, oo, "pane-border-style",
776 switch (options_get_number(oo, "pane-border-indicators")) {
784 border = screen_redraw_pane_border(ctx, active, x, y);
788 border == SCREEN_REDRAW_BORDER_BOTTOM) ||
790 border == SCREEN_REDRAW_BORDER_TOP))) ||
794 border == SCREEN_REDRAW_BORDER_RIGHT) ||
796 border == SCREEN_REDRAW_BORDER_LEFT)))) &&
799 utf8_set(&gc.data, BORDER_MARKERS[border]);