7 # include <X11/Xft/Xft.h>
14 typedef unsigned long Pixel;
19 operator Pixel() const { return c.pixel; }
22 operator Pixel() const { return p; }
25 bool operator == (const rxvt_color &b) const { return Pixel(*this) == Pixel(b); }
26 bool operator != (const rxvt_color &b) const { return Pixel(*this) != Pixel(b); }
28 void get (pR_ unsigned short &cr, unsigned short &cg, unsigned short &cb);
30 bool set (pR_ Pixel p);
31 bool set (pR_ const char *name);
32 bool set (pR_ unsigned short cr, unsigned short cg, unsigned short cb);