1999-09-25 09:59:43 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 08:47:26 +08:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
1998-01-25 18:26:47 +08:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
1999-11-18 05:13:50 +08:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
1998-01-25 18:26:47 +08:00
|
|
|
* License as published by the Free Software Foundation; either
|
1999-09-25 09:59:43 +08:00
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
1999-12-26 15:54:39 +08:00
|
|
|
* Lesser General Public License for more details.
|
1998-01-25 18:26:47 +08:00
|
|
|
*
|
1999-11-18 05:13:50 +08:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
1998-04-13 13:44:11 +08:00
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
1999-09-25 09:59:43 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* NOTE: This file is autogenerated by enumcode.pl */
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#ifndef __GIMP_ENUMS_H__
|
|
|
|
#define __GIMP_ENUMS_H__
|
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_BEGIN_DECLS
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_BRUSH_APPLICATION_MODE (gimp_brush_application_mode_get_type ())
|
|
|
|
|
|
|
|
GType gimp_brush_application_mode_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-03-19 23:05:38 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_BRUSH_HARD,
|
2002-03-20 03:17:31 +08:00
|
|
|
GIMP_BRUSH_SOFT
|
2002-03-19 23:05:38 +08:00
|
|
|
} GimpBrushApplicationMode;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_CONVERT_DITHER_TYPE (gimp_convert_dither_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_convert_dither_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-03-18 21:55:19 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NO_DITHER,
|
|
|
|
GIMP_FS_DITHER,
|
|
|
|
GIMP_FSLOWBLEED_DITHER,
|
2002-03-20 23:02:30 +08:00
|
|
|
GIMP_FIXED_DITHER
|
2002-03-18 21:55:19 +08:00
|
|
|
} GimpConvertDitherType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_CONVERT_PALETTE_TYPE (gimp_convert_palette_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_convert_palette_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-03-18 21:55:19 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_MAKE_PALETTE,
|
|
|
|
GIMP_REUSE_PALETTE,
|
|
|
|
GIMP_WEB_PALETTE,
|
|
|
|
GIMP_MONO_PALETTE,
|
|
|
|
GIMP_CUSTOM_PALETTE
|
|
|
|
} GimpConvertPaletteType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_CONVOLUTION_TYPE (gimp_convolution_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_convolution_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2001-12-09 07:12:59 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NORMAL_CONVOL,
|
|
|
|
GIMP_ABSOLUTE_CONVOL,
|
|
|
|
GIMP_NEGATIVE_CONVOL
|
|
|
|
} GimpConvolutionType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_CONVOLVE_TYPE (gimp_convolve_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_convolve_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-03-19 23:05:38 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_BLUR_CONVOLVE,
|
2002-03-20 03:17:31 +08:00
|
|
|
GIMP_SHARPEN_CONVOLVE
|
2002-03-19 23:05:38 +08:00
|
|
|
} GimpConvolveType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_FILL_TYPE (gimp_fill_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_fill_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
1999-09-25 09:59:43 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
2002-03-18 06:54:26 +08:00
|
|
|
GIMP_FOREGROUND_FILL,
|
|
|
|
GIMP_BACKGROUND_FILL,
|
|
|
|
GIMP_WHITE_FILL,
|
|
|
|
GIMP_TRANSPARENT_FILL,
|
2004-01-06 22:02:08 +08:00
|
|
|
GIMP_PATTERN_FILL
|
1999-09-25 09:59:43 +08:00
|
|
|
} GimpFillType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_GRADIENT_SEGMENT_COLOR (gimp_gradient_segment_color_get_type ())
|
|
|
|
|
|
|
|
GType gimp_gradient_segment_color_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2004-05-31 06:04:16 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
2004-06-02 02:49:50 +08:00
|
|
|
GIMP_GRADIENT_SEGMENT_RGB,
|
|
|
|
GIMP_GRADIENT_SEGMENT_HSV_CCW,
|
|
|
|
GIMP_GRADIENT_SEGMENT_HSV_CW
|
2004-05-31 06:04:16 +08:00
|
|
|
} GimpGradientSegmentColor;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_GRADIENT_SEGMENT_TYPE (gimp_gradient_segment_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_gradient_segment_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2004-05-31 06:04:16 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
2004-06-02 02:49:50 +08:00
|
|
|
GIMP_GRADIENT_SEGMENT_LINEAR,
|
|
|
|
GIMP_GRADIENT_SEGMENT_CURVED,
|
|
|
|
GIMP_GRADIENT_SEGMENT_SINE,
|
|
|
|
GIMP_GRADIENT_SEGMENT_SPHERE_INCREASING,
|
|
|
|
GIMP_GRADIENT_SEGMENT_SPHERE_DECREASING
|
2004-05-31 06:04:16 +08:00
|
|
|
} GimpGradientSegmentType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_HISTOGRAM_CHANNEL (gimp_histogram_channel_get_type ())
|
|
|
|
|
|
|
|
GType gimp_histogram_channel_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2004-01-14 00:19:50 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_HISTOGRAM_VALUE,
|
|
|
|
GIMP_HISTOGRAM_RED,
|
|
|
|
GIMP_HISTOGRAM_GREEN,
|
|
|
|
GIMP_HISTOGRAM_BLUE,
|
|
|
|
GIMP_HISTOGRAM_ALPHA
|
|
|
|
} GimpHistogramChannel;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_HUE_RANGE (gimp_hue_range_get_type ())
|
|
|
|
|
|
|
|
GType gimp_hue_range_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-08-26 19:35:56 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_ALL_HUES,
|
|
|
|
GIMP_RED_HUES,
|
|
|
|
GIMP_YELLOW_HUES,
|
|
|
|
GIMP_GREEN_HUES,
|
|
|
|
GIMP_CYAN_HUES,
|
|
|
|
GIMP_BLUE_HUES,
|
|
|
|
GIMP_MAGENTA_HUES
|
|
|
|
} GimpHueRange;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_LAYER_MODE_EFFECTS (gimp_layer_mode_effects_get_type ())
|
|
|
|
|
|
|
|
GType gimp_layer_mode_effects_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2001-12-09 07:12:59 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NORMAL_MODE,
|
|
|
|
GIMP_DISSOLVE_MODE,
|
|
|
|
GIMP_BEHIND_MODE,
|
|
|
|
GIMP_MULTIPLY_MODE,
|
|
|
|
GIMP_SCREEN_MODE,
|
|
|
|
GIMP_OVERLAY_MODE,
|
|
|
|
GIMP_DIFFERENCE_MODE,
|
|
|
|
GIMP_ADDITION_MODE,
|
|
|
|
GIMP_SUBTRACT_MODE,
|
|
|
|
GIMP_DARKEN_ONLY_MODE,
|
|
|
|
GIMP_LIGHTEN_ONLY_MODE,
|
|
|
|
GIMP_HUE_MODE,
|
|
|
|
GIMP_SATURATION_MODE,
|
|
|
|
GIMP_COLOR_MODE,
|
|
|
|
GIMP_VALUE_MODE,
|
|
|
|
GIMP_DIVIDE_MODE,
|
|
|
|
GIMP_DODGE_MODE,
|
|
|
|
GIMP_BURN_MODE,
|
|
|
|
GIMP_HARDLIGHT_MODE,
|
2002-11-06 03:33:59 +08:00
|
|
|
GIMP_SOFTLIGHT_MODE,
|
|
|
|
GIMP_GRAIN_EXTRACT_MODE,
|
|
|
|
GIMP_GRAIN_MERGE_MODE,
|
2001-12-09 07:12:59 +08:00
|
|
|
GIMP_COLOR_ERASE_MODE
|
|
|
|
} GimpLayerModeEffects;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_MASK_APPLY_MODE (gimp_mask_apply_mode_get_type ())
|
|
|
|
|
|
|
|
GType gimp_mask_apply_mode_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-03-18 19:07:34 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_MASK_APPLY,
|
|
|
|
GIMP_MASK_DISCARD
|
|
|
|
} GimpMaskApplyMode;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_MERGE_TYPE (gimp_merge_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_merge_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2002-03-19 01:24:52 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_EXPAND_AS_NECESSARY,
|
|
|
|
GIMP_CLIP_TO_IMAGE,
|
|
|
|
GIMP_CLIP_TO_BOTTOM_LAYER,
|
|
|
|
GIMP_FLATTEN_IMAGE
|
|
|
|
} GimpMergeType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_OFFSET_TYPE (gimp_offset_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_offset_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2001-04-19 04:41:15 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_OFFSET_BACKGROUND,
|
|
|
|
GIMP_OFFSET_TRANSPARENT
|
|
|
|
} GimpOffsetType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_orientation_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2003-02-08 01:12:21 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
2003-02-10 05:03:36 +08:00
|
|
|
GIMP_ORIENTATION_HORIZONTAL,
|
|
|
|
GIMP_ORIENTATION_VERTICAL,
|
|
|
|
GIMP_ORIENTATION_UNKNOWN
|
2003-02-08 01:12:21 +08:00
|
|
|
} GimpOrientationType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_ROTATION_TYPE (gimp_rotation_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_rotation_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2003-12-09 17:03:52 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_ROTATE_90,
|
|
|
|
GIMP_ROTATE_180,
|
|
|
|
GIMP_ROTATE_270
|
|
|
|
} GimpRotationType;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#define GIMP_TYPE_RUN_MODE (gimp_run_mode_get_type ())
|
|
|
|
|
|
|
|
GType gimp_run_mode_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2001-12-19 08:13:16 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_RUN_INTERACTIVE,
|
|
|
|
GIMP_RUN_NONINTERACTIVE,
|
|
|
|
GIMP_RUN_WITH_LAST_VALS
|
|
|
|
} GimpRunMode;
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
|
2005-06-04 07:25:44 +08:00
|
|
|
void gimp_enums_init (void);
|
2004-10-26 03:29:00 +08:00
|
|
|
|
|
|
|
const gchar ** gimp_enums_get_type_names (gint *n_type_names);
|
|
|
|
|
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_END_DECLS
|
1999-10-25 06:08:11 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#endif /* __GIMP_ENUMS_H__ */
|