gimpenums.h 4.76 KB
Newer Older
1
/* LIBGIMP - The GIMP Library
2
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
Manish Singh's avatar
Manish Singh committed
3
 *
4
 * This library is free software: you can redistribute it and/or
Marc Lehmann's avatar
Marc Lehmann committed
5
 * modify it under the terms of the GNU Lesser General Public
Manish Singh's avatar
Manish Singh committed
6
 * License as published by the Free Software Foundation; either
7
 * version 3 of the License, or (at your option) any later version.
8 9 10 11
 *
 * 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
Manish Singh's avatar
Manish Singh committed
12
 * Lesser General Public License for more details.
Manish Singh's avatar
Manish Singh committed
13
 *
Marc Lehmann's avatar
Marc Lehmann committed
14
 * You should have received a copy of the GNU Lesser General Public
15
 * License along with this library.  If not, see
16
 * <https://www.gnu.org/licenses/>.
17 18 19 20
 */

/* NOTE: This file is autogenerated by enumcode.pl */

Elliot Lee's avatar
Elliot Lee committed
21 22 23
#ifndef __GIMP_ENUMS_H__
#define __GIMP_ENUMS_H__

24
G_BEGIN_DECLS
Elliot Lee's avatar
Elliot Lee committed
25

26 27 28 29 30

#define GIMP_TYPE_BRUSH_APPLICATION_MODE (gimp_brush_application_mode_get_type ())

GType gimp_brush_application_mode_get_type (void) G_GNUC_CONST;

31 32 33
typedef enum
{
  GIMP_BRUSH_HARD,
34
  GIMP_BRUSH_SOFT
35 36
} GimpBrushApplicationMode;

37

38 39 40 41 42 43 44 45 46 47 48 49
#define GIMP_TYPE_BUCKET_FILL_MODE (gimp_bucket_fill_mode_get_type ())

GType gimp_bucket_fill_mode_get_type (void) G_GNUC_CONST;

typedef enum
{
  GIMP_BUCKET_FILL_FG,
  GIMP_BUCKET_FILL_BG,
  GIMP_BUCKET_FILL_PATTERN
} GimpBucketFillMode;


50 51 52 53
#define GIMP_TYPE_CONVERT_DITHER_TYPE (gimp_convert_dither_type_get_type ())

GType gimp_convert_dither_type_get_type (void) G_GNUC_CONST;

54 55
typedef enum
{
56 57 58 59
  GIMP_CONVERT_DITHER_NONE,
  GIMP_CONVERT_DITHER_FS,
  GIMP_CONVERT_DITHER_FS_LOWBLEED,
  GIMP_CONVERT_DITHER_FIXED
60 61
} GimpConvertDitherType;

62 63 64 65 66

#define GIMP_TYPE_HISTOGRAM_CHANNEL (gimp_histogram_channel_get_type ())

GType gimp_histogram_channel_get_type (void) G_GNUC_CONST;

67 68 69 70 71 72
typedef enum
{
  GIMP_HISTOGRAM_VALUE,
  GIMP_HISTOGRAM_RED,
  GIMP_HISTOGRAM_GREEN,
  GIMP_HISTOGRAM_BLUE,
73 74
  GIMP_HISTOGRAM_ALPHA,
  GIMP_HISTOGRAM_LUMINANCE
75 76
} GimpHistogramChannel;

77

78 79 80 81 82 83 84 85 86 87 88 89
#define GIMP_TYPE_LAYER_COLOR_SPACE (gimp_layer_color_space_get_type ())

GType gimp_layer_color_space_get_type (void) G_GNUC_CONST;

typedef enum
{
  GIMP_LAYER_COLOR_SPACE_AUTO,
  GIMP_LAYER_COLOR_SPACE_RGB_LINEAR,
  GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL
} GimpLayerColorSpace;


90 91 92 93 94 95 96
#define GIMP_TYPE_LAYER_COMPOSITE_MODE (gimp_layer_composite_mode_get_type ())

GType gimp_layer_composite_mode_get_type (void) G_GNUC_CONST;

typedef enum
{
  GIMP_LAYER_COMPOSITE_AUTO,
97 98 99 100
  GIMP_LAYER_COMPOSITE_UNION,
  GIMP_LAYER_COMPOSITE_CLIP_TO_BACKDROP,
  GIMP_LAYER_COMPOSITE_CLIP_TO_LAYER,
  GIMP_LAYER_COMPOSITE_INTERSECTION
101 102 103
} GimpLayerCompositeMode;


104
#define GIMP_TYPE_LAYER_MODE (gimp_layer_mode_get_type ())
105

106
GType gimp_layer_mode_get_type (void) G_GNUC_CONST;
107

108 109
typedef enum
{
110
  GIMP_LAYER_MODE_NORMAL_LEGACY,
111
  GIMP_LAYER_MODE_DISSOLVE,
112
  GIMP_LAYER_MODE_BEHIND_LEGACY,
113 114 115 116 117 118 119 120 121 122
  GIMP_LAYER_MODE_MULTIPLY_LEGACY,
  GIMP_LAYER_MODE_SCREEN_LEGACY,
  GIMP_LAYER_MODE_OVERLAY_LEGACY,
  GIMP_LAYER_MODE_DIFFERENCE_LEGACY,
  GIMP_LAYER_MODE_ADDITION_LEGACY,
  GIMP_LAYER_MODE_SUBTRACT_LEGACY,
  GIMP_LAYER_MODE_DARKEN_ONLY_LEGACY,
  GIMP_LAYER_MODE_LIGHTEN_ONLY_LEGACY,
  GIMP_LAYER_MODE_HSV_HUE_LEGACY,
  GIMP_LAYER_MODE_HSV_SATURATION_LEGACY,
123
  GIMP_LAYER_MODE_HSL_COLOR_LEGACY,
124 125 126 127 128 129 130 131
  GIMP_LAYER_MODE_HSV_VALUE_LEGACY,
  GIMP_LAYER_MODE_DIVIDE_LEGACY,
  GIMP_LAYER_MODE_DODGE_LEGACY,
  GIMP_LAYER_MODE_BURN_LEGACY,
  GIMP_LAYER_MODE_HARDLIGHT_LEGACY,
  GIMP_LAYER_MODE_SOFTLIGHT_LEGACY,
  GIMP_LAYER_MODE_GRAIN_EXTRACT_LEGACY,
  GIMP_LAYER_MODE_GRAIN_MERGE_LEGACY,
132
  GIMP_LAYER_MODE_COLOR_ERASE_LEGACY,
133 134 135 136
  GIMP_LAYER_MODE_OVERLAY,
  GIMP_LAYER_MODE_LCH_HUE,
  GIMP_LAYER_MODE_LCH_CHROMA,
  GIMP_LAYER_MODE_LCH_COLOR,
137
  GIMP_LAYER_MODE_LCH_LIGHTNESS,
138
  GIMP_LAYER_MODE_NORMAL,
139
  GIMP_LAYER_MODE_BEHIND,
140
  GIMP_LAYER_MODE_MULTIPLY,
141 142 143
  GIMP_LAYER_MODE_SCREEN,
  GIMP_LAYER_MODE_DIFFERENCE,
  GIMP_LAYER_MODE_ADDITION,
144 145
  GIMP_LAYER_MODE_SUBTRACT,
  GIMP_LAYER_MODE_DARKEN_ONLY,
146 147 148
  GIMP_LAYER_MODE_LIGHTEN_ONLY,
  GIMP_LAYER_MODE_HSV_HUE,
  GIMP_LAYER_MODE_HSV_SATURATION,
149
  GIMP_LAYER_MODE_HSL_COLOR,
150 151
  GIMP_LAYER_MODE_HSV_VALUE,
  GIMP_LAYER_MODE_DIVIDE,
152
  GIMP_LAYER_MODE_DODGE,
153 154 155 156
  GIMP_LAYER_MODE_BURN,
  GIMP_LAYER_MODE_HARDLIGHT,
  GIMP_LAYER_MODE_SOFTLIGHT,
  GIMP_LAYER_MODE_GRAIN_EXTRACT,
157
  GIMP_LAYER_MODE_GRAIN_MERGE,
158 159 160
  GIMP_LAYER_MODE_VIVID_LIGHT,
  GIMP_LAYER_MODE_PIN_LIGHT,
  GIMP_LAYER_MODE_LINEAR_LIGHT,
Ell's avatar
Ell committed
161
  GIMP_LAYER_MODE_HARD_MIX,
162 163
  GIMP_LAYER_MODE_EXCLUSION,
  GIMP_LAYER_MODE_LINEAR_BURN,
164
  GIMP_LAYER_MODE_LUMA_DARKEN_ONLY,
165
  GIMP_LAYER_MODE_LUMA_LIGHTEN_ONLY,
166
  GIMP_LAYER_MODE_LUMINANCE,
167
  GIMP_LAYER_MODE_COLOR_ERASE,
Ell's avatar
Ell committed
168
  GIMP_LAYER_MODE_ERASE,
Ell's avatar
Ell committed
169
  GIMP_LAYER_MODE_MERGE,
Ell's avatar
Ell committed
170 171
  GIMP_LAYER_MODE_SPLIT,
  GIMP_LAYER_MODE_PASS_THROUGH
172
} GimpLayerMode;
173

174

175
void           gimp_enums_init           (void);
176 177 178 179

const gchar ** gimp_enums_get_type_names (gint *n_type_names);


180
G_END_DECLS
181

Elliot Lee's avatar
Elliot Lee committed
182
#endif /* __GIMP_ENUMS_H__ */