… | … | ||
---|---|---|---|
673 | } | 673 | } |
674 | 674 | ||
675 | bool | 675 | bool |
676 | rxvt_color::alloc (rxvt_screen *screen, const rgba &color) | 676 | rxvt_color::alloc (rxvt_screen *screen, const rgba &color) |
677 | { | 677 | { |
678 | //TODO: only supports 24 bit truecolour | 678 | //TODO: only supports 24 bit |
679 | int alpha = color.a >= 0xff00 ? 0xffff : color.a; | 679 | int alpha = color.a >= 0xff00 ? 0xffff : color.a; |
680 | 680 | ||
681 | #if XFT | 681 | #if XFT |
682 | XRenderPictFormat *format; | 682 | XRenderPictFormat *format; |
683 | 683 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |