[gimp] libgimpbase: add GIMP_GRADIENT_BLEND_CIE_LAB value to enum
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpbase: add GIMP_GRADIENT_BLEND_CIE_LAB value to enum
- Date: Sat, 14 Apr 2018 16:14:09 +0000 (UTC)
commit e007da260476c7b4ad9a5c0cccc5a783ee6e5086
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Apr 14 18:11:38 2018 +0200
libgimpbase: add GIMP_GRADIENT_BLEND_CIE_LAB value to enum
libgimpbase/gimpbaseenums.c | 2 ++
libgimpbase/gimpbaseenums.h | 3 ++-
pdb/enums.pl | 6 ++++--
3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libgimpbase/gimpbaseenums.c b/libgimpbase/gimpbaseenums.c
index 2a47498..4e4fa63 100644
--- a/libgimpbase/gimpbaseenums.c
+++ b/libgimpbase/gimpbaseenums.c
@@ -635,6 +635,7 @@ gimp_gradient_blend_color_space_get_type (void)
{
{ GIMP_GRADIENT_BLEND_RGB_PERCEPTUAL, "GIMP_GRADIENT_BLEND_RGB_PERCEPTUAL", "rgb-perceptual" },
{ GIMP_GRADIENT_BLEND_RGB_LINEAR, "GIMP_GRADIENT_BLEND_RGB_LINEAR", "rgb-linear" },
+ { GIMP_GRADIENT_BLEND_CIE_LAB, "GIMP_GRADIENT_BLEND_CIE_LAB", "cie-lab" },
{ 0, NULL, NULL }
};
@@ -642,6 +643,7 @@ gimp_gradient_blend_color_space_get_type (void)
{
{ GIMP_GRADIENT_BLEND_RGB_PERCEPTUAL, NC_("gradient-blend-color-space", "Perceptual RGB"), NULL },
{ GIMP_GRADIENT_BLEND_RGB_LINEAR, NC_("gradient-blend-color-space", "Linear RGB"), NULL },
+ { GIMP_GRADIENT_BLEND_CIE_LAB, NC_("gradient-blend-color-space", "CIE Lab"), NULL },
{ 0, NULL, NULL }
};
diff --git a/libgimpbase/gimpbaseenums.h b/libgimpbase/gimpbaseenums.h
index 6b4ffb8..61de91e 100644
--- a/libgimpbase/gimpbaseenums.h
+++ b/libgimpbase/gimpbaseenums.h
@@ -347,7 +347,8 @@ GType gimp_gradient_blend_color_space_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_GRADIENT_BLEND_RGB_PERCEPTUAL, /*< desc="Perceptual RGB", nick=rgb-perceptual >*/
- GIMP_GRADIENT_BLEND_RGB_LINEAR /*< desc="Linear RGB", nick=rgb-linear >*/
+ GIMP_GRADIENT_BLEND_RGB_LINEAR, /*< desc="Linear RGB", nick=rgb-linear >*/
+ GIMP_GRADIENT_BLEND_CIE_LAB /*< desc="CIE Lab", nick=cie-lab >*/
} GimpGradientBlendColorSpace;
diff --git a/pdb/enums.pl b/pdb/enums.pl
index 7b26557..5037669 100644
--- a/pdb/enums.pl
+++ b/pdb/enums.pl
@@ -207,9 +207,11 @@ package Gimp::CodeGen::enums;
{ contig => 1,
header => 'libgimpbase/gimpbaseenums.h',
symbols => [ qw(GIMP_GRADIENT_BLEND_RGB_PERCEPTUAL
- GIMP_GRADIENT_BLEND_RGB_LINEAR) ],
+ GIMP_GRADIENT_BLEND_RGB_LINEAR
+ GIMP_GRADIENT_BLEND_CIE_LAB) ],
mapping => { GIMP_GRADIENT_BLEND_RGB_PERCEPTUAL => '0',
- GIMP_GRADIENT_BLEND_RGB_LINEAR => '1' }
+ GIMP_GRADIENT_BLEND_RGB_LINEAR => '1',
+ GIMP_GRADIENT_BLEND_CIE_LAB => '2' }
},
GimpGradientSegmentColor =>
{ contig => 1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]