~~~
Issue #5524 New function css-color (accompanying x11-color) staging
author Urs Liska <[email protected]>
Mon, 15 Jul 2019 21:38:16 +0100 (21:38 +0100)
committer James Lowe <[email protected]>
Mon, 15 Jul 2019 21:40:41 +0100 (21:40 +0100)
commit 7ecc24c5e8bfc13b58abb02154eaadfda2f38307
~~~
---
** [issues:#5524] New function css-color (accompanying x11-color)**
**Status:** Fixed
**Labels:** Fixed_2_21_0
**Created:** Mon Jun 03, 2019 02:49 PM UTC by Urs Liska
**Last Updated:** Sun Jul 14, 2019 12:21 PM UTC
**Owner:** Urs Liska
New function css-color (accompanying x11-color)
I was asked if LilyPond could support choosing colors by their CSS name,
which I found a reasonable wish.
This commit makes make-x11-color-handler generic and specifies
a new function css-color. From this it would be easy to also add further
namespaces and color lists.
CSS colors are case insensitive, so this commit also provides support for
this. Incidentally, a warning is now issued when the requested color is
not defined (instead of *silently* falling back to black).
https://codereview.appspot.com/580780043/
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto