… | |
… | |
2541 | if (ISSET_PIXCOLOR (Color_tint)) |
2541 | if (ISSET_PIXCOLOR (Color_tint)) |
2542 | { |
2542 | { |
2543 | int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100; |
2543 | int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100; |
2544 | |
2544 | |
2545 | rgba c; |
2545 | rgba c; |
2546 | pix_colors_focused [Color_tint].get (this, c); |
2546 | pix_colors_focused [Color_tint].get (c); |
2547 | |
2547 | |
2548 | ShadeXImage (this, image, shade, c.r, c.g, c.b); |
2548 | ShadeXImage (this, image, shade, c.r, c.g, c.b); |
2549 | } |
2549 | } |
2550 | #endif |
2550 | #endif |
2551 | |
2551 | |
… | |
… | |
3719 | rxvt_term::process_color_seq (int report, int color, const char *str, char resp) |
3719 | rxvt_term::process_color_seq (int report, int color, const char *str, char resp) |
3720 | { |
3720 | { |
3721 | if (str[0] == '?' && !str[1]) |
3721 | if (str[0] == '?' && !str[1]) |
3722 | { |
3722 | { |
3723 | rgba c; |
3723 | rgba c; |
3724 | pix_colors_focused[color].get (this, c); |
3724 | pix_colors_focused[color].get (c); |
3725 | |
3725 | |
3726 | #if XFT |
3726 | #if XFT |
3727 | if (c.a != rgba::MAX_CC) |
3727 | if (c.a != rgba::MAX_CC) |
3728 | tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.a, c.r, c.g, c.b, resp); |
3728 | tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.a, c.r, c.g, c.b, resp); |
3729 | else |
3729 | else |