2001-12-07 16:10:53 +00:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BASE_ENUMS_H__
|
|
|
|
#define __BASE_ENUMS_H__
|
|
|
|
|
2001-12-08 23:12:59 +00:00
|
|
|
/* These enums that are registered with the type system. */
|
|
|
|
|
|
|
|
|
2001-12-07 16:10:53 +00:00
|
|
|
#define GIMP_TYPE_INTERPOLATION_TYPE (gimp_interpolation_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_interpolation_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_LINEAR_INTERPOLATION,
|
|
|
|
GIMP_CUBIC_INTERPOLATION,
|
|
|
|
GIMP_NEAREST_NEIGHBOR_INTERPOLATION
|
|
|
|
} GimpInterpolationType;
|
|
|
|
|
|
|
|
|
2001-12-08 23:12:59 +00:00
|
|
|
#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_COLOR_ERASE_MODE,
|
|
|
|
GIMP_ERASE_MODE, /*< skip >*/
|
|
|
|
GIMP_REPLACE_MODE, /*< skip >*/
|
|
|
|
GIMP_ANTI_ERASE_MODE /*< skip >*/
|
|
|
|
} GimpLayerModeEffects;
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __BASE_ENUMS_H__ */
|