libgimpbase: add GIMP_GRADIENT_BLEND_CIE_LAB value to enum

This commit is contained in:
Øyvind Kolås
2018-04-14 18:11:38 +02:00
parent f660d614f2
commit e007da2604
3 changed files with 8 additions and 3 deletions

View File

@ -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 }
};

View File

@ -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;

View File

@ -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,