1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <https://www.gnu.org/licenses/>.
*/
#ifndef __GIMP_COMPAT_ENUMS_H__
#define __GIMP_COMPAT_ENUMS_H__
G_BEGIN_DECLS
/* These enums exist only for compatibility, their nicks are needed
* for config file parsing; they are registered in gimp_base_init().
*/
#define GIMP_TYPE_ADD_MASK_TYPE_COMPAT (gimp_add_mask_type_compat_get_type ())
GType gimp_add_mask_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_ADD_WHITE_MASK = GIMP_ADD_MASK_WHITE,
GIMP_ADD_BLACK_MASK = GIMP_ADD_MASK_BLACK,
GIMP_ADD_ALPHA_MASK = GIMP_ADD_MASK_ALPHA,
GIMP_ADD_ALPHA_TRANSFER_MASK = GIMP_ADD_MASK_ALPHA_TRANSFER,
GIMP_ADD_SELECTION_MASK = GIMP_ADD_MASK_SELECTION,
GIMP_ADD_COPY_MASK = GIMP_ADD_MASK_COPY,
GIMP_ADD_CHANNEL_MASK = GIMP_ADD_MASK_CHANNEL
} GimpAddMaskTypeCompat;
#define GIMP_TYPE_BLEND_MODE_COMPAT (gimp_blend_mode_compat_get_type ())
GType gimp_blend_mode_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_FG_BG_RGB_MODE = GIMP_BLEND_FG_BG_RGB,
GIMP_FG_BG_HSV_MODE = GIMP_BLEND_FG_BG_HSV,
GIMP_FG_TRANSPARENT_MODE = GIMP_BLEND_FG_TRANSPARENT,
GIMP_CUSTOM_MODE = GIMP_BLEND_CUSTOM
} GimpBlendModeCompat;
#define GIMP_TYPE_BUCKET_FILL_MODE_COMPAT (gimp_bucket_fill_mode_compat_get_type ())
GType gimp_bucket_fill_mode_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_FG_BUCKET_FILL = GIMP_BUCKET_FILL_FG,
GIMP_BG_BUCKET_FILL = GIMP_BUCKET_FILL_BG,
GIMP_PATTERN_BUCKET_FILL = GIMP_BUCKET_FILL_PATTERN
} GimpBucketFillModeCompat;
#define GIMP_TYPE_CHANNEL_TYPE_COMPAT (gimp_channel_type_compat_get_type ())
GType gimp_channel_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_RED_CHANNEL = GIMP_CHANNEL_RED,
GIMP_GREEN_CHANNEL = GIMP_CHANNEL_GREEN,
GIMP_BLUE_CHANNEL = GIMP_CHANNEL_BLUE,
GIMP_GRAY_CHANNEL = GIMP_CHANNEL_GRAY,
GIMP_INDEXED_CHANNEL = GIMP_CHANNEL_INDEXED,
GIMP_ALPHA_CHANNEL = GIMP_CHANNEL_ALPHA
} GimpChannelTypeCompat;
#define GIMP_TYPE_CLONE_TYPE_COMPAT (gimp_clone_type_compat_get_type ())
GType gimp_clone_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_IMAGE_CLONE = GIMP_CLONE_IMAGE,
GIMP_PATTERN_CLONE = GIMP_CLONE_PATTERN
} GimpCloneTypeCompat;
#define GIMP_TYPE_CONVERT_DITHER_TYPE_COMPAT (gimp_convert_dither_type_compat_get_type ())
GType gimp_convert_dither_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_NO_DITHER,
GIMP_FS_DITHER,
GIMP_FSLOWBLEED_DITHER,
GIMP_FIXED_DITHER
} GimpConvertDitherTypeCompat;
#define GIMP_TYPE_CONVERT_PALETTE_TYPE_COMPAT (gimp_convert_palette_type_compat_get_type ())
GType gimp_convert_palette_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_MAKE_PALETTE,
GIMP_REUSE_PALETTE,
GIMP_WEB_PALETTE,
GIMP_MONO_PALETTE,
GIMP_CUSTOM_PALETTE
} GimpConvertPaletteTypeCompat;
#define GIMP_TYPE_CONVOLVE_TYPE_COMPAT (gimp_convolve_type_compat_get_type ())
GType gimp_convolve_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_BLUR_CONVOLVE = GIMP_CONVOLVE_BLUR,
GIMP_SHARPEN_CONVOLVE = GIMP_CONVOLVE_SHARPEN
} GimpConvolveTypeCompat;
#define GIMP_TYPE_DESATURATE_MODE_COMPAT (gimp_desaturate_mode_compat_get_type ())
GType gimp_desaturate_mode_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_DESATURATE_LUMINOSITY = GIMP_DESATURATE_LUMA
} GimpDesaturateModeCompat;
#define GIMP_TYPE_DODGE_BURN_TYPE_COMPAT (gimp_dodge_burn_type_compat_get_type ())
GType gimp_dodge_burn_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_DODGE = GIMP_DODGE_BURN_TYPE_DODGE,
GIMP_BURN = GIMP_DODGE_BURN_TYPE_BURN
} GimpDodgeBurnTypeCompat;
#define GIMP_TYPE_FILL_TYPE_COMPAT (gimp_fill_type_compat_get_type ())
GType gimp_fill_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_FOREGROUND_FILL = GIMP_FILL_FOREGROUND,
GIMP_BACKGROUND_FILL = GIMP_FILL_BACKGROUND,
GIMP_WHITE_FILL = GIMP_FILL_WHITE,
GIMP_TRANSPARENT_FILL = GIMP_FILL_TRANSPARENT,
GIMP_PATTERN_FILL = GIMP_FILL_PATTERN
} GimpFillTypeCompat;
#define GIMP_TYPE_HUE_RANGE_COMPAT (gimp_hue_range_compat_get_type ())
GType gimp_hue_range_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_ALL_HUES = GIMP_HUE_RANGE_ALL,
GIMP_RED_HUES = GIMP_HUE_RANGE_RED,
GIMP_YELLOW_HUES = GIMP_HUE_RANGE_YELLOW,
GIMP_GREEN_HUES = GIMP_HUE_RANGE_GREEN,
GIMP_CYAN_HUES = GIMP_HUE_RANGE_CYAN,
GIMP_BLUE_HUES = GIMP_HUE_RANGE_BLUE,
GIMP_MAGENTA_HUES = GIMP_HUE_RANGE_MAGENTA
} GimpHueRangeCompat;
#define GIMP_TYPE_ICON_TYPE_COMPAT (gimp_icon_type_compat_get_type ())
GType gimp_icon_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_ICON_TYPE_STOCK_ID = GIMP_ICON_TYPE_ICON_NAME
} GimpIconTypeCompat;
#define GIMP_TYPE_INTERPOLATION_TYPE_COMPAT (gimp_interpolation_type_compat_get_type ())
GType gimp_interpolation_type_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_INTERPOLATION_LANCZOS = GIMP_INTERPOLATION_NOHALO
} GimpInterpolationTypeCompat;
#define GIMP_TYPE_LAYER_MODE_EFFECTS (gimp_layer_mode_effects_get_type ())
GType gimp_layer_mode_effects_get_type (void) G_GNUC_CONST;
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,
GIMP_SOFTLIGHT_MODE,
GIMP_GRAIN_EXTRACT_MODE,
GIMP_GRAIN_MERGE_MODE,
GIMP_COLOR_ERASE_MODE
} GimpLayerModeEffects;
#define GIMP_TYPE_TRANSFER_MODE_COMPAT (gimp_transfer_mode_compat_get_type ())
GType gimp_transfer_mode_compat_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_SHADOWS = GIMP_TRANSFER_SHADOWS,
GIMP_MIDTONES = GIMP_TRANSFER_MIDTONES,
GIMP_HIGHLIGHTS = GIMP_TRANSFER_HIGHLIGHTS
} GimpTransferModeCompat;
G_END_DECLS
#endif /* __GIMP_COMPAT_ENUMS_H__ */
|