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

Comparing rxvt-unicode/src/rxvttoolkit.C (file contents):
Revision 1.43 by root, Tue Jan 31 18:36:35 2006 UTC vs.
Revision 1.44 by root, Tue Jan 31 19:53:31 2006 UTC

719 719
720 return got; 720 return got;
721} 721}
722 722
723void 723void
724rxvt_color::get (rxvt_screen *screen, rgba &color) 724rxvt_color::get (rgba &color)
725{ 725{
726#if XFT 726#if XFT
727 color.r = c.color.red; 727 color.r = c.color.red;
728 color.g = c.color.green; 728 color.g = c.color.green;
729 color.b = c.color.blue; 729 color.b = c.color.blue;
748 748
749void 749void
750rxvt_color::fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to) 750rxvt_color::fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to)
751{ 751{
752 rgba c; 752 rgba c;
753 get (screen, c); 753 get (c);
754 754
755 result.set ( 755 result.set (
756 screen, 756 screen,
757 rgba ( 757 rgba (
758 lerp (c.r, to.r, percent), 758 lerp (c.r, to.r, percent),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines