[gegl] gegl-color: add "transparent" as alias for "none"



commit 9cb1faa469d1a51f416d53ab0a4859b8460a2475
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Nov 12 15:39:19 2016 +0100

    gegl-color: add "transparent" as alias for "none"

 gegl/property-types/gegl-color.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gegl/property-types/gegl-color.c b/gegl/property-types/gegl-color.c
index 6880136..be375f9 100644
--- a/gegl/property-types/gegl-color.c
+++ b/gegl/property-types/gegl-color.c
@@ -85,7 +85,8 @@ static const ColorNameEntity color_names[] =
   { "blue",    { 0.f,      0.f,      1.f,      1.f } },
   { "teal",    { 0.f,      0.50196f, 0.50196f, 1.f } },
   { "aqua",    { 0.f,      1.f,      1.f,      1.f } },
-  { "none",    { 0.f,      0.f,      0.f,      0.f } }
+  { "none",    { 0.f,      0.f,      0.f,      0.f } },
+  { "transparent",  { 0.f, 0.f,      0.f,      0.f } }
 };
 
 /* Copied into GeglColor:s instances when parsing a color from a string fails. */


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