Commit 01724111 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

uhh, skipping values used in the PDB was a bad idea. Removed the skip

2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: uhh, skipping values used in the PDB
	was a bad idea. Removed the skip trigraphs again. This breaks the
	GUI; will fix it later.

	* tools/pdbgen/enums.pl: regenerated.
parent 16e8b1be
2002-05-13 Sven Neumann <sven@gimp.org>
* app/core/core-enums.[ch]: uhh, skipping values used in the PDB
was a bad idea. Removed the skip trigraphs again. This breaks the
GUI; will fix it later.
* tools/pdbgen/enums.pl: regenerated.
2002-05-13 Sven Neumann <sven@gimp.org>
* app/core/core-enums.[ch]: registered GimpFillType enum and added
......
......@@ -99,6 +99,7 @@ static const GEnumValue gimp_fill_type_enum_values[] =
{ GIMP_BACKGROUND_FILL, N_("Background"), "background-fill" },
{ GIMP_WHITE_FILL, N_("White"), "white-fill" },
{ GIMP_TRANSPARENT_FILL, N_("Transparent"), "transparent-fill" },
{ GIMP_NO_FILL, N_("None"), "no-fill" },
{ 0, NULL, NULL }
};
......@@ -146,6 +147,7 @@ static const GEnumValue gimp_image_base_type_enum_values[] =
{
{ GIMP_RGB, N_("RGB"), "rgb" },
{ GIMP_GRAY, N_("Grayscale"), "gray" },
{ GIMP_INDEXED, N_("Indexed"), "indexed" },
{ 0, NULL, NULL }
};
......
......@@ -104,7 +104,7 @@ typedef enum
GIMP_BACKGROUND_FILL, /*< desc="Background" >*/
GIMP_WHITE_FILL, /*< desc="White" >*/
GIMP_TRANSPARENT_FILL, /*< desc="Transparent" >*/
GIMP_NO_FILL /*< skip >*/
GIMP_NO_FILL /*< desc="None" >*/
} GimpFillType;
......@@ -136,7 +136,7 @@ typedef enum
{
GIMP_RGB, /*< desc="RGB" >*/
GIMP_GRAY, /*< desc="Grayscale" >*/
GIMP_INDEXED /*< skip >*/
GIMP_INDEXED /*< desc="Indexed" >*/
} GimpImageBaseType;
......
......@@ -203,6 +203,17 @@ package Gimp::CodeGen::enums;
GIMP_FSLOWBLEED_DITHER => '2',
GIMP_FIXED_DITHER => '3' }
},
GimpFillType =>
{ contig => 1,
header => 'core/core-enums.h',
symbols => [ qw(GIMP_FOREGROUND_FILL GIMP_BACKGROUND_FILL
GIMP_WHITE_FILL GIMP_TRANSPARENT_FILL GIMP_NO_FILL) ],
mapping => { GIMP_FOREGROUND_FILL => '0',
GIMP_BACKGROUND_FILL => '1',
GIMP_WHITE_FILL => '2',
GIMP_TRANSPARENT_FILL => '3',
GIMP_NO_FILL => '4' }
},
GimpGradientType =>
{ contig => 1,
header => 'core/core-enums.h',
......@@ -283,17 +294,6 @@ package Gimp::CodeGen::enums;
GIMP_MONO_PALETTE => '3',
GIMP_CUSTOM_PALETTE => '4' }
},
GimpFillType =>
{ contig => 1,
header => 'core/core-enums.h',
symbols => [ qw(GIMP_FOREGROUND_FILL GIMP_BACKGROUND_FILL
GIMP_WHITE_FILL GIMP_TRANSPARENT_FILL GIMP_NO_FILL) ],
mapping => { GIMP_FOREGROUND_FILL => '0',
GIMP_BACKGROUND_FILL => '1',
GIMP_WHITE_FILL => '2',
GIMP_TRANSPARENT_FILL => '3',
GIMP_NO_FILL => '4' }
},
GimpAddMaskType =>
{ contig => 1,
header => 'core/core-enums.h',
......
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