5 #include <X11/Xft/Xft.h>
8 // Colors are represented as uint32_t's. If the high bit is set, it's a "true
9 // color" represented as 0x80rrggbb. Otherwise, it's an ANSI color index.
15 true_color_bit
= 0x80000000,
18 Colors() : initialized(false) {}
21 void init(Display
* display
);
22 const XftColor
* xft_color(uint32_t color
);
26 XftColor indexed_colors
[256];
27 std::map
<uint32_t, XftColor
> true_colors
;