Re: [Nautilus-list] [patch] fix regression of Danube color specification



Darin Adler <darin bentspoon com> writes:

> On 2/3/02 9:39 PM, "David Emory Watson" <dwatson cs ucr edu> wrote:
> 
> > In older versions of Nautilus the color "Danube" had a 16 bit blue
> > component of 7FF.  When someone converted browser.xml to store 8 bit
> > colors, they incorrectly converted this to FF instead of the correct
> > value of 7F.  This patch against HEAD makes Danube a nice color again...
> 
> If the old value for the blue component was 7FF (which mean 07FF), then the
> correct new value would be 07, not 7F. Which is right?

Actually, 7FF means 7FF7 in a rgb:<red>/<green>/<blue> (see the
XParseColor() man page). The number of hex digits in each component gives
the significant hex digits.

Regards,
                                               Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]