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.
This commit is contained in:
Sven Neumann 2002-05-13 15:53:45 +00:00 committed by Sven Neumann
parent 16e8b1bec8
commit 0172411138
4 changed files with 23 additions and 13 deletions

View File

@ -1,3 +1,11 @@
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

View File

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

View File

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

View File

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