Commit ed3db758 authored by Sven Neumann's avatar Sven Neumann
Browse files

forgot to commit the autogenerated files.

parent 77a0b747
2002-03-20 Sven Neumann <sven@gimp.org>
 
* app/core/core-enums.[ch]: registered GimpConvertDitherType.
* app/core/core-enums.[ch]: registered GimpConvertDitherType and
skip GIMP_NODESTRUCT_DITHER since the comment said it should never
be used.
* app/gui/convert-dialog.c: simplified a lot by using enums.
 
* app/tools/paint_options.c: include gimpenummenu.h.
 
* app/pdb/convert_cmds.c
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: regenerated.
2002-03-20 Michael Natterer <mitch@gimp.org>
 
* themes/Default/images/Makefile.am
......
......@@ -152,7 +152,7 @@ convert_indexed_invoker (Gimp *gimp,
success = FALSE;
dither_type = args[1].value.pdb_int;
if (dither_type < GIMP_NO_DITHER || dither_type > GIMP_NODESTRUCT_DITHER)
if (dither_type < GIMP_NO_DITHER || dither_type > GIMP_FIXED_DITHER)
success = FALSE;
palette_type = args[2].value.pdb_int;
......
......@@ -94,8 +94,7 @@ typedef enum
GIMP_NO_DITHER,
GIMP_FS_DITHER,
GIMP_FSLOWBLEED_DITHER,
GIMP_FIXED_DITHER,
GIMP_NODESTRUCT_DITHER
GIMP_FIXED_DITHER
} GimpConvertDitherType;
typedef enum
......
......@@ -68,7 +68,6 @@ init_generated_constants (void)
setvar (cintern ("FS-DITHER"), flocons (1), NIL);
setvar (cintern ("FSLOWBLEED-DITHER"), flocons (2), NIL);
setvar (cintern ("FIXED-DITHER"), flocons (3), NIL);
setvar (cintern ("NODESTRUCT-DITHER"), flocons (4), NIL);
setvar (cintern ("MAKE-PALETTE"), flocons (0), NIL);
setvar (cintern ("REUSE-PALETTE"), flocons (1), NIL);
......
......@@ -193,6 +193,16 @@ package Gimp::CodeGen::enums;
GIMP_INDEXED_CHANNEL => '4',
GIMP_ALPHA_CHANNEL => '5' }
},
GimpConvertDitherType =>
{ contig => 1,
header => 'core/core-enums.h',
symbols => [ qw(GIMP_NO_DITHER GIMP_FS_DITHER
GIMP_FSLOWBLEED_DITHER GIMP_FIXED_DITHER) ],
mapping => { GIMP_NO_DITHER => '0',
GIMP_FS_DITHER => '1',
GIMP_FSLOWBLEED_DITHER => '2',
GIMP_FIXED_DITHER => '3' }
},
GimpGradientType =>
{ contig => 1,
header => 'core/core-enums.h',
......@@ -260,18 +270,6 @@ package Gimp::CodeGen::enums;
GIMP_MONO_PALETTE => '3',
GIMP_CUSTOM_PALETTE => '4' }
},
GimpConvertDitherType =>
{ contig => 1,
header => 'core/core-enums.h',
symbols => [ qw(GIMP_NO_DITHER GIMP_FS_DITHER
GIMP_FSLOWBLEED_DITHER GIMP_FIXED_DITHER
GIMP_NODESTRUCT_DITHER) ],
mapping => { GIMP_NO_DITHER => '0',
GIMP_FS_DITHER => '1',
GIMP_FSLOWBLEED_DITHER => '2',
GIMP_FIXED_DITHER => '3',
GIMP_NODESTRUCT_DITHER => '4' }
},
GimpFillType =>
{ 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