The problem is that LyXColorHandler::getGCForeground() uses 

        XLookupColor(display, colormap, x11colorname, &xcol, &ccol);

to find xcol and ccol, the "exact" and "closest available on this display" 
RGB colours to the input x11colorname. Till this changes LColor has to store 
the X11 name. Unless your saying that we could input the string "#rrggbb" 
here?

Angus

On Thursday 30 November 2000 10:09, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> The ONLY reason we have the X11 name browser is because LColor
> Angus> currently stores colours by name, not by RGB value. This will
> Angus> have to change in the future if we're to have a native windows
> Angus> port etc, but, for the time being it makes it hard to do other
> Angus> than I have here.
>
> I thought one could use #rrggbb as color name to have explicit codes.
>
> JMarc

Reply via email to