~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/base/base-enums.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
61
61
} GimpHistogramChannel;
62
62
 
63
63
 
64
 
#define GIMP_TYPE_INTERPOLATION_TYPE (gimp_interpolation_type_get_type ())
65
 
 
66
 
GType gimp_interpolation_type_get_type (void) G_GNUC_CONST;
67
 
 
68
 
typedef enum
69
 
{
70
 
  GIMP_INTERPOLATION_NONE,   /*< desc="None (Fastest)" >*/
71
 
  GIMP_INTERPOLATION_LINEAR, /*< desc="Linear"         >*/
72
 
  GIMP_INTERPOLATION_CUBIC   /*< desc="Cubic (Best)"   >*/
73
 
} GimpInterpolationType;
74
 
 
75
 
 
76
64
#define GIMP_TYPE_LAYER_MODE_EFFECTS (gimp_layer_mode_effects_get_type ())
77
65
 
78
66
GType gimp_layer_mode_effects_get_type (void) G_GNUC_CONST;
79
67
 
80
68
typedef enum
81
69
{
82
 
  GIMP_NORMAL_MODE,
83
 
  GIMP_DISSOLVE_MODE,
84
 
  GIMP_BEHIND_MODE,
85
 
  GIMP_MULTIPLY_MODE,
86
 
  GIMP_SCREEN_MODE,
87
 
  GIMP_OVERLAY_MODE,
88
 
  GIMP_DIFFERENCE_MODE,
89
 
  GIMP_ADDITION_MODE,
90
 
  GIMP_SUBTRACT_MODE,
91
 
  GIMP_DARKEN_ONLY_MODE,
92
 
  GIMP_LIGHTEN_ONLY_MODE,
93
 
  GIMP_HUE_MODE,
94
 
  GIMP_SATURATION_MODE,
95
 
  GIMP_COLOR_MODE,
96
 
  GIMP_VALUE_MODE,
97
 
  GIMP_DIVIDE_MODE,
98
 
  GIMP_DODGE_MODE,
99
 
  GIMP_BURN_MODE,
100
 
  GIMP_HARDLIGHT_MODE,
101
 
  GIMP_SOFTLIGHT_MODE,
102
 
  GIMP_GRAIN_EXTRACT_MODE,
103
 
  GIMP_GRAIN_MERGE_MODE,
104
 
  GIMP_COLOR_ERASE_MODE,
105
 
  GIMP_ERASE_MODE,           /*< pdb-skip, skip >*/
106
 
  GIMP_REPLACE_MODE,         /*< pdb-skip, skip >*/
107
 
  GIMP_ANTI_ERASE_MODE       /*< pdb-skip, skip >*/
 
70
  GIMP_NORMAL_MODE,          /*< desc="Normal"               >*/
 
71
  GIMP_DISSOLVE_MODE,        /*< desc="Dissolve"             >*/
 
72
  GIMP_BEHIND_MODE,          /*< desc="Behind"               >*/
 
73
  GIMP_MULTIPLY_MODE,        /*< desc="Multiply"             >*/
 
74
  GIMP_SCREEN_MODE,          /*< desc="Screen"               >*/
 
75
  GIMP_OVERLAY_MODE,         /*< desc="Overlay"              >*/
 
76
  GIMP_DIFFERENCE_MODE,      /*< desc="Difference"           >*/
 
77
  GIMP_ADDITION_MODE,        /*< desc="Addition"             >*/
 
78
  GIMP_SUBTRACT_MODE,        /*< desc="Subtract"             >*/
 
79
  GIMP_DARKEN_ONLY_MODE,     /*< desc="Darken only"          >*/
 
80
  GIMP_LIGHTEN_ONLY_MODE,    /*< desc="Lighten only"         >*/
 
81
  GIMP_HUE_MODE,             /*< desc="Hue"                  >*/
 
82
  GIMP_SATURATION_MODE,      /*< desc="Saturation"           >*/
 
83
  GIMP_COLOR_MODE,           /*< desc="Color"                >*/
 
84
  GIMP_VALUE_MODE,           /*< desc="Value"                >*/
 
85
  GIMP_DIVIDE_MODE,          /*< desc="Divide"               >*/
 
86
  GIMP_DODGE_MODE,           /*< desc="Dodge"                >*/
 
87
  GIMP_BURN_MODE,            /*< desc="Burn"                 >*/
 
88
  GIMP_HARDLIGHT_MODE,       /*< desc="Hard light"           >*/
 
89
  GIMP_SOFTLIGHT_MODE,       /*< desc="Soft light"           >*/
 
90
  GIMP_GRAIN_EXTRACT_MODE,   /*< desc="Grain extract"        >*/
 
91
  GIMP_GRAIN_MERGE_MODE,     /*< desc="Grain merge"          >*/
 
92
  GIMP_COLOR_ERASE_MODE,     /*< desc="Color erase"          >*/
 
93
  GIMP_ERASE_MODE,           /*< pdb-skip, desc="Erase"      >*/
 
94
  GIMP_REPLACE_MODE,         /*< pdb-skip, desc="Replace"    >*/
 
95
  GIMP_ANTI_ERASE_MODE       /*< pdb-skip, desc="Anti erase" >*/
108
96
} GimpLayerModeEffects;
109
97
 
110
98
 
111
 
#define GIMP_TYPE_TRANSFER_MODE (gimp_transfer_mode_get_type ())
 
99
#define GIMP_TYPE_HUE_RANGE (gimp_hue_range_get_type ())
112
100
 
113
 
GType gimp_transfer_mode_get_type (void) G_GNUC_CONST;
 
101
GType gimp_hue_range_get_type (void) G_GNUC_CONST;
114
102
 
115
103
typedef enum
116
104
{
117
 
  GIMP_SHADOWS,     /*< desc="Shadows"    >*/
118
 
  GIMP_MIDTONES,    /*< desc="Midtones"   >*/
119
 
  GIMP_HIGHLIGHTS   /*< desc="Highlights" >*/
120
 
} GimpTransferMode;
121
 
 
122
 
 
123
 
/*
124
 
 * non-registered enums; register them if needed
125
 
 */
126
 
 
127
 
typedef enum  /*< skip >*/
128
 
{
129
 
  GIMP_NORMAL_CONVOL,      /*  Negative numbers truncated  */
130
 
  GIMP_ABSOLUTE_CONVOL,    /*  Absolute value              */
131
 
  GIMP_NEGATIVE_CONVOL     /*  add 127 to values           */
132
 
} GimpConvolutionType;
133
 
 
134
 
typedef enum  /*< skip >*/
135
 
{
136
105
  GIMP_ALL_HUES,
137
106
  GIMP_RED_HUES,
138
107
  GIMP_YELLOW_HUES,
143
112
} GimpHueRange;
144
113
 
145
114
 
 
115
/*
 
116
 * non-registered enums; register them if needed
 
117
 */
 
118
 
 
119
typedef enum  /*< skip >*/
 
120
{
 
121
  GIMP_NORMAL_CONVOL,      /*  Negative numbers truncated  */
 
122
  GIMP_ABSOLUTE_CONVOL,    /*  Absolute value              */
 
123
  GIMP_NEGATIVE_CONVOL     /*  add 127 to values           */
 
124
} GimpConvolutionType;
 
125
 
 
126
typedef enum  /*< pdb-skip, skip >*/
 
127
{
 
128
  SIOX_REFINEMENT_NO_CHANGE          = 0,
 
129
  SIOX_REFINEMENT_ADD_FOREGROUND     = (1 << 0),
 
130
  SIOX_REFINEMENT_ADD_BACKGROUND     = (1 << 1),
 
131
  SIOX_REFINEMENT_CHANGE_SENSITIVITY = (1 << 2),
 
132
  SIOX_REFINEMENT_CHANGE_SMOOTHNESS  = (1 << 3),
 
133
  SIOX_REFINEMENT_CHANGE_MULTIBLOB   = (1 << 4),
 
134
  SIOX_REFINEMENT_RECALCULATE        = 0xFF
 
135
} SioxRefinementType;
 
136
 
146
137
#endif /* __BASE_ENUMS_H__ */