ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.h
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.41 by ayin, Fri Jan 11 23:21:53 2008 UTC vs.
Revision 1.42 by root, Wed Jan 23 05:59:30 2008 UTC

329 operator Pixel () const { return c.pixel; } 329 operator Pixel () const { return c.pixel; }
330 330
331 bool operator == (const rxvt_color &b) const { return Pixel (*this) == Pixel (b); } 331 bool operator == (const rxvt_color &b) const { return Pixel (*this) == Pixel (b); }
332 bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } 332 bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); }
333 333
334 bool is_opaque () const
335 {
336#if XFT
337 //TODO: only supports 24 bit truecolour
338 return c.color.alpha < 0xff00;
339#else
340 return 1;
341#endif
342 }
343
334 bool alloc (rxvt_screen *screen, const rgba &color); 344 bool alloc (rxvt_screen *screen, const rgba &color);
335 void free (rxvt_screen *screen); 345 void free (rxvt_screen *screen);
336 346
337 void get (rgba &color); 347 void get (rgba &color);
338 void get (XColor &color); 348 void get (XColor &color);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines