OK I'll re-think this one. But not just now as I'm just off to sing in a
choir!

/Bernard

On Thu, 2005-04-21 at 18:26 +0200, Han-Wen Nienhuys wrote:
> Op do, 21-04-2005 te 09:52 +0100, schreef Bernard Hurley:
> > Hi,
> > 
> > No one got back to me on this but I am submitting a patch anyway:
> > 
> > Changelog entry:
> > =============================================
> > 2005-04-21  Bernard Hurley  <[EMAIL PROTECTED]>
> > 
> >     * scm/output-lib.scm: added full set of X11 color names.
> >     Where X11 colors have optional multiword names, e.g. "dark
> >     orange" and "DarkOrange" only the single word names are available.
> >     The names already defined in Lily 2.5.20 have been retained and refer
> >     to the same color except "grey" which now refers to the lighter
> >     X11 shade of grey.
> > 
> 
> Hi,
> 
> I like the idea, but I oppose of the patch, since it pollutes the global
> name space. I'd rather have something like
> 
>   #(x11-color DarkSlateBlue)
>   #(x11-color 'DarkSlateBlue)
>   #(x11-color "DarkSlateBlue")
> 
> (I guess the 1st is easiest to use),  which looks the name up in a
> private color database.
> 
> Also, the code should take the data from an alist (and possibly store it
> in a hash-table.), eg.
> 
>  (define (x11-color arg) 
>      ..
>       '((blue 0 0 1)
>         (red 1 0 0)
>       ... ))
> 
> 
-- 
Bernard Hurley <[EMAIL PROTECTED]>


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to