Home | History | Annotate | Download | only in dist

Lines Matching refs:gcp

1473 	const struct grid_cell	*gcp;
1549 gcp = tty_check_codeset(tty, &gc);
1552 (gcp->attr & GRID_ATTR_CHARSET) ||
1553 gcp->flags != last.flags ||
1554 gcp->attr != last.attr ||
1555 gcp->fg != last.fg ||
1556 gcp->bg != last.bg ||
1557 gcp->us != last.us ||
1558 gcp->link != last.link ||
1559 ux + width + gcp->data.width > nx ||
1560 (sizeof buf) - len < gcp->data.size)) {
1579 if (gcp->flags & GRID_FLAG_SELECTED)
1580 screen_select_cell(s, &last, gcp);
1582 memcpy(&last, gcp, sizeof last);
1584 tty_check_overlay_range(tty, atx + ux, aty, gcp->data.width,
1589 hidden = gcp->data.width - hidden;
1590 if (hidden != 0 && hidden == gcp->data.width) {
1591 if (~gcp->flags & GRID_FLAG_PADDING)
1592 ux += gcp->data.width;
1593 } else if (hidden != 0 || ux + gcp->data.width > nx) {
1594 if (~gcp->flags & GRID_FLAG_PADDING) {
1612 } else if (gcp->attr & GRID_ATTR_CHARSET) {
1616 for (j = 0; j < gcp->data.size; j++)
1617 tty_putc(tty, gcp->data.data[j]);
1618 ux += gcp->data.width;
1619 } else if (~gcp->flags & GRID_FLAG_PADDING) {
1620 memcpy(buf + len, gcp->data.data, gcp->data.size);
1621 len += gcp->data.size;
1622 width += gcp->data.width;
2174 const struct grid_cell *gcp = ctx->cell;
2182 (gcp->data.width == 1 && !tty_check_overlay(tty, px, py)))
2186 if (gcp->data.width > 1) {
2187 tty_check_overlay_range(tty, px, py, gcp->data.width, &r);
2190 if (vis < gcp->data.width) {
2191 tty_draw_line(tty, s, s->cx, s->cy, gcp->data.width,
2369 const struct grid_cell *gcp;
2382 gcp = tty_check_codeset(tty, gc);
2383 tty_attributes(tty, gcp, defaults, palette, hl);
2386 if (gcp->data.size == 1) {
2387 tty_attributes(tty, gcp, defaults, palette, hl);
2388 if (*gcp->data.data < 0x20 || *gcp->data.data == 0x7f)
2390 tty_putc(tty, *gcp->data.data);
2395 tty_putn(tty, gcp->data.data, gcp->data.size, gcp->data.width);