gimpenums.h 4.71 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 16
 * License along with this library.  If not, see
 * <http://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

#define GIMP_TYPE_CONVERT_DITHER_TYPE (gimp_convert_dither_type_get_type ())

GType gimp_convert_dither_type_get_type (void) G_GNUC_CONST;

42 43 44 45 46
typedef enum
{
  GIMP_NO_DITHER,
  GIMP_FS_DITHER,
  GIMP_FSLOWBLEED_DITHER,
47
  GIMP_FIXED_DITHER
48 49
} GimpConvertDitherType;

50 51 52 53 54

#define GIMP_TYPE_HISTOGRAM_CHANNEL (gimp_histogram_channel_get_type ())

GType gimp_histogram_channel_get_type (void) G_GNUC_CONST;

55 56 57 58 59 60
typedef enum
{
  GIMP_HISTOGRAM_VALUE,
  GIMP_HISTOGRAM_RED,
  GIMP_HISTOGRAM_GREEN,
  GIMP_HISTOGRAM_BLUE,
61 62
  GIMP_HISTOGRAM_ALPHA,
  GIMP_HISTOGRAM_LUMINANCE
63 64
} GimpHistogramChannel;

65

66 67 68 69 70 71 72 73 74 75 76 77 78 79
#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,
  GIMP_LAYER_COMPOSITE_SRC_OVER,
  GIMP_LAYER_COMPOSITE_SRC_ATOP,
  GIMP_LAYER_COMPOSITE_SRC_IN,
  GIMP_LAYER_COMPOSITE_DST_ATOP
} GimpLayerCompositeMode;


80
#define GIMP_TYPE_LAYER_MODE (gimp_layer_mode_get_type ())
81

82
GType gimp_layer_mode_get_type (void) G_GNUC_CONST;
83

84 85
typedef enum
{
86
  GIMP_LAYER_MODE_NORMAL,
87
  GIMP_LAYER_MODE_DISSOLVE,
88
  GIMP_LAYER_MODE_BEHIND,
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
  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,
  GIMP_LAYER_MODE_HSV_COLOR_LEGACY,
  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,
108 109 110 111 112
  GIMP_LAYER_MODE_COLOR_ERASE,
  GIMP_LAYER_MODE_OVERLAY,
  GIMP_LAYER_MODE_LCH_HUE,
  GIMP_LAYER_MODE_LCH_CHROMA,
  GIMP_LAYER_MODE_LCH_COLOR,
113
  GIMP_LAYER_MODE_LCH_LIGHTNESS,
114
  GIMP_LAYER_MODE_NORMAL_LINEAR,
115
  GIMP_LAYER_MODE_BEHIND_LINEAR,
116
  GIMP_LAYER_MODE_MULTIPLY,
117
  GIMP_LAYER_MODE_MULTIPLY_LINEAR,
118
  GIMP_LAYER_MODE_SCREEN,
119 120
  GIMP_LAYER_MODE_SCREEN_LINEAR,
  GIMP_LAYER_MODE_OVERLAY_LINEAR,
121
  GIMP_LAYER_MODE_DIFFERENCE,
122
  GIMP_LAYER_MODE_DIFFERENCE_LINEAR,
123
  GIMP_LAYER_MODE_ADDITION,
124
  GIMP_LAYER_MODE_ADDITION_LINEAR,
125
  GIMP_LAYER_MODE_SUBTRACT,
126
  GIMP_LAYER_MODE_SUBTRACT_LINEAR,
127
  GIMP_LAYER_MODE_DARKEN_ONLY,
128 129 130 131
  GIMP_LAYER_MODE_LIGHTEN_ONLY,
  GIMP_LAYER_MODE_HSV_HUE,
  GIMP_LAYER_MODE_HSV_SATURATION,
  GIMP_LAYER_MODE_HSV_COLOR,
132 133
  GIMP_LAYER_MODE_HSV_VALUE,
  GIMP_LAYER_MODE_DIVIDE,
134
  GIMP_LAYER_MODE_DIVIDE_LINEAR,
135
  GIMP_LAYER_MODE_DODGE,
136
  GIMP_LAYER_MODE_DODGE_LINEAR,
137
  GIMP_LAYER_MODE_BURN,
138
  GIMP_LAYER_MODE_BURN_LINEAR,
139
  GIMP_LAYER_MODE_HARDLIGHT,
140
  GIMP_LAYER_MODE_HARDLIGHT_LINEAR,
141
  GIMP_LAYER_MODE_SOFTLIGHT,
142
  GIMP_LAYER_MODE_SOFTLIGHT_LINEAR,
143
  GIMP_LAYER_MODE_GRAIN_EXTRACT,
144 145
  GIMP_LAYER_MODE_GRAIN_EXTRACT_LINEAR,
  GIMP_LAYER_MODE_GRAIN_MERGE,
146 147 148 149 150 151 152 153 154 155
  GIMP_LAYER_MODE_GRAIN_MERGE_LINEAR,
  GIMP_LAYER_MODE_VIVID_LIGHT,
  GIMP_LAYER_MODE_VIVID_LIGHT_LINEAR,
  GIMP_LAYER_MODE_PIN_LIGHT,
  GIMP_LAYER_MODE_PIN_LIGHT_LINEAR,
  GIMP_LAYER_MODE_LINEAR_LIGHT,
  GIMP_LAYER_MODE_LINEAR_LIGHT_LINEAR,
  GIMP_LAYER_MODE_EXCLUSION,
  GIMP_LAYER_MODE_EXCLUSION_LINEAR,
  GIMP_LAYER_MODE_LINEAR_BURN,
156
  GIMP_LAYER_MODE_LINEAR_BURN_LINEAR,
157
  GIMP_LAYER_MODE_LUMA_DARKEN_ONLY,
158
  GIMP_LAYER_MODE_LUMINANCE_DARKEN_ONLY,
159
  GIMP_LAYER_MODE_LUMA_LIGHTEN_ONLY,
160
  GIMP_LAYER_MODE_LUMINANCE_LIGHTEN_ONLY
161
} GimpLayerMode;
162

163

164
void           gimp_enums_init           (void);
165 166 167 168

const gchar ** gimp_enums_get_type_names (gint *n_type_names);


169
G_END_DECLS
170

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