Commit e007da26 authored by Øyvind Kolås's avatar Øyvind Kolås

libgimpbase: add GIMP_GRADIENT_BLEND_CIE_LAB value to enum

parent f660d614
......@@ -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 }
};
......
......@@ -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;
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment