2001-12-08 23:12:59 +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.
|
|
|
|
*/
|
|
|
|
|
2002-03-29 03:50:29 +00:00
|
|
|
/*< proxy-skip >*/
|
|
|
|
|
2001-12-08 23:12:59 +00:00
|
|
|
#ifndef __CORE_ENUMS_H__
|
|
|
|
#define __CORE_ENUMS_H__
|
|
|
|
|
2001-12-11 18:11:56 +00:00
|
|
|
#if 0
|
2002-03-29 03:50:29 +00:00
|
|
|
This file is parsed by three scripts, enumgen.pl in tools/pdbgen,
|
|
|
|
gimp-mkenums, and gimp-mkproxy. All enums that are not marked with
|
|
|
|
/*< pdb-skip >*/ are exported to libgimp and the PDB. Enums that are
|
|
|
|
not marked with /*< skip >*/ are registered with the GType system.
|
|
|
|
If you want the enum to be skipped by both scripts, you have to use
|
|
|
|
/*< pdb-skip >*/ _before_ /*< skip >*/.
|
2001-12-08 23:12:59 +00:00
|
|
|
|
2001-12-11 18:11:56 +00:00
|
|
|
All enum values that are marked with /*< skip >*/ are skipped for
|
|
|
|
both targets.
|
|
|
|
|
2002-03-29 03:50:29 +00:00
|
|
|
Anything not between proxy-skip and proxy-resume
|
|
|
|
pairs will be copied into libgimpproxy by gimp-mkproxy.
|
|
|
|
#endif
|
2001-12-11 18:11:56 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* these enums that are registered with the type system
|
|
|
|
*/
|
2001-12-08 23:12:59 +00:00
|
|
|
|
2003-02-07 17:12:21 +00:00
|
|
|
#define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_orientation_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
2003-02-09 21:03:36 +00:00
|
|
|
GIMP_ORIENTATION_HORIZONTAL, /*< desc="Horizontal" >*/
|
|
|
|
GIMP_ORIENTATION_VERTICAL, /*< desc="Vertical" >*/
|
|
|
|
GIMP_ORIENTATION_UNKNOWN /*< desc="Unknown" >*/
|
2003-02-07 17:12:21 +00:00
|
|
|
} GimpOrientationType;
|
|
|
|
|
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
#define GIMP_TYPE_BLEND_MODE (gimp_blend_mode_get_type ())
|
2001-12-11 15:58:07 +00:00
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
GType gimp_blend_mode_get_type (void) G_GNUC_CONST;
|
2001-12-11 15:58:07 +00:00
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
2002-03-18 22:26:41 +00:00
|
|
|
GIMP_FG_BG_RGB_MODE, /*< desc="FG to BG (RGB)" >*/
|
|
|
|
GIMP_FG_BG_HSV_MODE, /*< desc="FG to BG (HSV)" >*/
|
|
|
|
GIMP_FG_TRANSPARENT_MODE, /*< desc="FG to Transparent" >*/
|
|
|
|
GIMP_CUSTOM_MODE /*< desc="Custom Gradient" >*/
|
|
|
|
} GimpBlendMode;
|
2001-12-08 23:12:59 +00:00
|
|
|
|
2001-12-11 18:11:56 +00:00
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
#define GIMP_TYPE_BUCKET_FILL_MODE (gimp_bucket_fill_mode_get_type ())
|
2001-12-11 18:11:56 +00:00
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
GType gimp_bucket_fill_mode_get_type (void) G_GNUC_CONST;
|
2002-03-13 14:51:48 +00:00
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
typedef enum
|
2002-03-13 14:51:48 +00:00
|
|
|
{
|
2002-03-18 22:26:41 +00:00
|
|
|
GIMP_FG_BUCKET_FILL, /*< desc="FG Color Fill" >*/
|
|
|
|
GIMP_BG_BUCKET_FILL, /*< desc="BG Color Fill" >*/
|
|
|
|
GIMP_PATTERN_BUCKET_FILL /*< desc="Pattern Fill" >*/
|
|
|
|
} GimpBucketFillMode;
|
2002-03-13 14:51:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
#define GIMP_TYPE_CHANNEL_TYPE (gimp_channel_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_channel_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
2001-12-13 20:19:41 +00:00
|
|
|
{
|
|
|
|
GIMP_RED_CHANNEL,
|
|
|
|
GIMP_GREEN_CHANNEL,
|
|
|
|
GIMP_BLUE_CHANNEL,
|
|
|
|
GIMP_GRAY_CHANNEL,
|
|
|
|
GIMP_INDEXED_CHANNEL,
|
|
|
|
GIMP_ALPHA_CHANNEL
|
|
|
|
} GimpChannelType;
|
|
|
|
|
2002-03-13 14:51:48 +00:00
|
|
|
|
2002-03-20 14:10:45 +00:00
|
|
|
#define GIMP_TYPE_CONVERT_DITHER_TYPE (gimp_convert_dither_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_convert_dither_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NO_DITHER, /*< desc="No Color Dithering" >*/
|
|
|
|
GIMP_FS_DITHER, /*< desc="Floyd-Steinberg Color Dithering (Normal)" >*/
|
|
|
|
GIMP_FSLOWBLEED_DITHER, /*< desc="Floyd-Steinberg Color Dithering (Reduced Color Bleeding)" >*/
|
|
|
|
GIMP_FIXED_DITHER, /*< desc="Positioned Color Dithering" >*/
|
|
|
|
GIMP_NODESTRUCT_DITHER /*< skip >*/
|
|
|
|
} GimpConvertDitherType;
|
|
|
|
|
|
|
|
|
2003-01-31 13:36:27 +00:00
|
|
|
#define GIMP_TYPE_GRAVITY_TYPE (gimp_gravity_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_gravity_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/
|
|
|
|
{
|
2003-01-31 20:21:01 +00:00
|
|
|
GIMP_GRAVITY_NONE,
|
2003-01-31 13:36:27 +00:00
|
|
|
GIMP_GRAVITY_NORTH_WEST,
|
2003-01-31 20:21:01 +00:00
|
|
|
GIMP_GRAVITY_NORTH,
|
2003-01-31 13:36:27 +00:00
|
|
|
GIMP_GRAVITY_NORTH_EAST,
|
|
|
|
GIMP_GRAVITY_WEST,
|
2003-01-31 20:21:01 +00:00
|
|
|
GIMP_GRAVITY_CENTER,
|
|
|
|
GIMP_GRAVITY_EAST,
|
|
|
|
GIMP_GRAVITY_SOUTH_WEST,
|
|
|
|
GIMP_GRAVITY_SOUTH,
|
|
|
|
GIMP_GRAVITY_SOUTH_EAST
|
2003-01-31 13:36:27 +00:00
|
|
|
} GimpGravityType;
|
|
|
|
|
|
|
|
|
2002-05-13 15:35:27 +00:00
|
|
|
#define GIMP_TYPE_FILL_TYPE (gimp_fill_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_fill_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_FOREGROUND_FILL, /*< desc="Foreground" >*/
|
|
|
|
GIMP_BACKGROUND_FILL, /*< desc="Background" >*/
|
|
|
|
GIMP_WHITE_FILL, /*< desc="White" >*/
|
|
|
|
GIMP_TRANSPARENT_FILL, /*< desc="Transparent" >*/
|
2002-05-13 15:53:45 +00:00
|
|
|
GIMP_NO_FILL /*< desc="None" >*/
|
2002-05-13 15:35:27 +00:00
|
|
|
} GimpFillType;
|
|
|
|
|
|
|
|
|
2002-03-17 18:36:52 +00:00
|
|
|
#define GIMP_TYPE_GRADIENT_TYPE (gimp_gradient_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_gradient_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
2002-05-13 15:35:27 +00:00
|
|
|
GIMP_LINEAR, /*< desc="Linear" >*/
|
|
|
|
GIMP_BILINEAR, /*< desc="Bi-Linear" >*/
|
|
|
|
GIMP_RADIAL, /*< desc="Radial" >*/
|
|
|
|
GIMP_SQUARE, /*< desc="Square" >*/
|
|
|
|
GIMP_CONICAL_SYMMETRIC, /*< desc="Conical (symmetric)" >*/
|
|
|
|
GIMP_CONICAL_ASYMMETRIC, /*< desc="Conical (asymmetric)" >*/
|
|
|
|
GIMP_SHAPEBURST_ANGULAR, /*< desc="Shapeburst (angular)" >*/
|
|
|
|
GIMP_SHAPEBURST_SPHERICAL, /*< desc="Shapeburst (spherical)" >*/
|
|
|
|
GIMP_SHAPEBURST_DIMPLED, /*< desc="Shapeburst (dimpled)" >*/
|
|
|
|
GIMP_SPIRAL_CLOCKWISE, /*< desc="Spiral (clockwise)" >*/
|
|
|
|
GIMP_SPIRAL_ANTICLOCKWISE /*< desc="Spiral (anticlockwise)" >*/
|
2001-12-11 18:53:03 +00:00
|
|
|
} GimpGradientType;
|
|
|
|
|
2002-03-17 18:36:52 +00:00
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
#define GIMP_TYPE_IMAGE_BASE_TYPE (gimp_image_base_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_image_base_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
2002-05-13 15:35:27 +00:00
|
|
|
GIMP_RGB, /*< desc="RGB" >*/
|
|
|
|
GIMP_GRAY, /*< desc="Grayscale" >*/
|
2002-05-13 15:53:45 +00:00
|
|
|
GIMP_INDEXED /*< desc="Indexed" >*/
|
2002-03-18 22:26:41 +00:00
|
|
|
} GimpImageBaseType;
|
|
|
|
|
|
|
|
|
2002-04-16 23:03:23 +00:00
|
|
|
#define GIMP_TYPE_IMAGE_TYPE (gimp_image_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_image_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_RGB_IMAGE, /*< desc="RGB" >*/
|
|
|
|
GIMP_RGBA_IMAGE, /*< desc="RGB-Alpha" >*/
|
|
|
|
GIMP_GRAY_IMAGE, /*< desc="Grayscale" >*/
|
|
|
|
GIMP_GRAYA_IMAGE, /*< desc="Grayscale-Alpha" >*/
|
|
|
|
GIMP_INDEXED_IMAGE, /*< desc="Indexed" >*/
|
|
|
|
GIMP_INDEXEDA_IMAGE /*< desc="Indexed-Alpha" >*/
|
|
|
|
} GimpImageType;
|
|
|
|
|
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
#define GIMP_TYPE_PREVIEW_SIZE (gimp_preview_size_get_type ())
|
|
|
|
|
|
|
|
GType gimp_preview_size_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/
|
|
|
|
{
|
|
|
|
GIMP_PREVIEW_SIZE_NONE = 0, /*< desc="None" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_TINY = 16, /*< desc="Tiny" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_EXTRA_SMALL = 24, /*< desc="Very Small" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_SMALL = 32, /*< desc="Small" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_MEDIUM = 48, /*< desc="Medium" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_LARGE = 64, /*< desc="Large" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_EXTRA_LARGE = 96, /*< desc="Very Large" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_HUGE = 128, /*< desc="Huge" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_ENORMOUS = 192, /*< desc="Enormous" >*/
|
|
|
|
GIMP_PREVIEW_SIZE_GIGANTIC = 256 /*< desc="Gigantic" >*/
|
|
|
|
} GimpPreviewSize;
|
|
|
|
|
|
|
|
|
2002-03-17 18:36:52 +00:00
|
|
|
#define GIMP_TYPE_REPEAT_MODE (gimp_repeat_mode_get_type ())
|
|
|
|
|
|
|
|
GType gimp_repeat_mode_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_REPEAT_NONE, /*< desc="None" >*/
|
|
|
|
GIMP_REPEAT_SAWTOOTH, /*< desc="Sawtooth Wave" >*/
|
|
|
|
GIMP_REPEAT_TRIANGULAR /*< desc="Triangular Wave" >*/
|
|
|
|
} GimpRepeatMode;
|
|
|
|
|
|
|
|
|
2002-03-18 22:26:41 +00:00
|
|
|
#define GIMP_TYPE_SELECTION_CONTROL (gimp_selection_control_get_type ())
|
|
|
|
|
|
|
|
GType gimp_selection_control_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/
|
|
|
|
{
|
|
|
|
GIMP_SELECTION_OFF,
|
|
|
|
GIMP_SELECTION_LAYER_OFF,
|
|
|
|
GIMP_SELECTION_ON,
|
|
|
|
GIMP_SELECTION_PAUSE,
|
|
|
|
GIMP_SELECTION_RESUME
|
|
|
|
} GimpSelectionControl;
|
|
|
|
|
|
|
|
|
2002-04-29 19:41:45 +00:00
|
|
|
#define GIMP_TYPE_THUMBNAIL_SIZE (gimp_thumbnail_size_get_type ())
|
|
|
|
|
|
|
|
GType gimp_thumbnail_size_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/
|
|
|
|
{
|
|
|
|
GIMP_THUMBNAIL_SIZE_NONE = 0, /*< desc="No Thumbnails" >*/
|
|
|
|
GIMP_THUMBNAIL_SIZE_NORMAL = 128, /*< desc="Normal (128x128)" >*/
|
|
|
|
GIMP_THUMBNAIL_SIZE_LARGE = 256 /*< desc="Large (256x256)" >*/
|
|
|
|
} GimpThumbnailSize;
|
|
|
|
|
|
|
|
|
2002-03-17 18:36:52 +00:00
|
|
|
#define GIMP_TYPE_TRANSFORM_DIRECTION (gimp_transform_direction_get_type ())
|
|
|
|
|
|
|
|
GType gimp_transform_direction_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/
|
|
|
|
{
|
|
|
|
GIMP_TRANSFORM_FORWARD, /*< desc="Forward (Traditional)" >*/
|
|
|
|
GIMP_TRANSFORM_BACKWARD /*< desc="Backward (Corrective)" >*/
|
|
|
|
} GimpTransformDirection;
|
|
|
|
|
|
|
|
|
2003-02-07 17:12:21 +00:00
|
|
|
#define GIMP_TYPE_CHANNEL_OPS (gimp_channel_ops_get_type ())
|
2002-03-17 18:36:52 +00:00
|
|
|
|
2003-02-07 17:12:21 +00:00
|
|
|
GType gimp_channel_ops_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< proxy-resume >*/
|
2002-03-18 16:22:14 +00:00
|
|
|
{
|
2003-02-07 17:12:21 +00:00
|
|
|
GIMP_CHANNEL_OP_ADD, /*< desc="Add to the current selection" >*/
|
|
|
|
GIMP_CHANNEL_OP_SUBTRACT, /*< desc="Subtract from the current selection" >*/
|
|
|
|
GIMP_CHANNEL_OP_REPLACE, /*< desc="Replace the current selection" >*/
|
|
|
|
GIMP_CHANNEL_OP_INTERSECT /*< desc="Intersect with the current selection" >*/
|
2002-03-18 16:22:14 +00:00
|
|
|
} GimpChannelOps;
|
|
|
|
|
2003-02-07 17:12:21 +00:00
|
|
|
|
2003-02-12 17:11:34 +00:00
|
|
|
#define GIMP_TYPE_UNDO_MODE (gimp_undo_mode_get_type ())
|
|
|
|
|
|
|
|
GType gimp_undo_mode_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< proxy-skip >*/ /*< pdb-skip >*/
|
|
|
|
{
|
|
|
|
GIMP_UNDO_MODE_UNDO,
|
|
|
|
GIMP_UNDO_MODE_REDO
|
|
|
|
} GimpUndoMode;
|
|
|
|
|
|
|
|
|
|
|
|
#define GIMP_TYPE_UNDO_TYPE (gimp_undo_type_get_type ())
|
|
|
|
|
|
|
|
GType gimp_undo_type_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/
|
|
|
|
{
|
|
|
|
/* Type NO_UNDO_GROUP (0) is special - in the gimpimage structure it
|
|
|
|
* means there is no undo group currently being added to.
|
|
|
|
*/
|
|
|
|
NO_UNDO_GROUP = 0, /*< desc="<<invalid>>" >*/
|
|
|
|
|
|
|
|
FIRST_UNDO_GROUP = NO_UNDO_GROUP,
|
|
|
|
|
|
|
|
IMAGE_SCALE_UNDO_GROUP, /*< desc="Scale Image" >*/
|
|
|
|
IMAGE_RESIZE_UNDO_GROUP, /*< desc="Resize Image" >*/
|
|
|
|
IMAGE_CONVERT_UNDO_GROUP, /*< desc="Convert Image" >*/
|
|
|
|
IMAGE_CROP_UNDO_GROUP, /*< desc="Crop Image" >*/
|
|
|
|
IMAGE_LAYERS_MERGE_UNDO_GROUP, /*< desc="Merge Layers" >*/
|
|
|
|
IMAGE_QMASK_UNDO_GROUP, /*< desc="QuickMask" >*/
|
|
|
|
IMAGE_GUIDE_UNDO_GROUP, /*< desc="Guide" >*/
|
|
|
|
LAYER_PROPERTIES_UNDO_GROUP, /*< desc="Layer Properties" >*/
|
|
|
|
LAYER_SCALE_UNDO_GROUP, /*< desc="Scale Layer" >*/
|
|
|
|
LAYER_RESIZE_UNDO_GROUP, /*< desc="Resize Layer" >*/
|
|
|
|
LAYER_DISPLACE_UNDO_GROUP, /*< desc="Move Layer" >*/
|
|
|
|
LAYER_LINKED_UNDO_GROUP, /*< desc="Linked Layer" >*/
|
|
|
|
LAYER_APPLY_MASK_UNDO_GROUP, /*< desc="Apply Layer Mask" >*/
|
|
|
|
FS_FLOAT_UNDO_GROUP, /*< desc="Float Selection" >*/
|
|
|
|
FS_ANCHOR_UNDO_GROUP, /*< desc="Anchor Floating Selection" >*/
|
|
|
|
EDIT_PASTE_UNDO_GROUP, /*< desc="Paste" >*/
|
|
|
|
EDIT_CUT_UNDO_GROUP, /*< desc="Cut" >*/
|
|
|
|
EDIT_COPY_UNDO_GROUP, /*< desc="Copy" >*/
|
|
|
|
TEXT_UNDO_GROUP, /*< desc="Text" >*/
|
|
|
|
TRANSFORM_UNDO_GROUP, /*< desc="Transform" >*/
|
|
|
|
PAINT_UNDO_GROUP, /*< desc="Paint" >*/
|
|
|
|
PARASITE_ATTACH_UNDO_GROUP, /*< desc="Attach Parasite" >*/
|
|
|
|
PARASITE_REMOVE_UNDO_GROUP, /*< desc="Remove Parasite" >*/
|
|
|
|
MISC_UNDO_GROUP, /*< desc="Plug-In" >*/
|
|
|
|
|
|
|
|
LAST_UNDO_GROUP = MISC_UNDO_GROUP,
|
|
|
|
|
|
|
|
/* Undo types which actually do something */
|
|
|
|
|
|
|
|
IMAGE_UNDO, /*< desc="Image" >*/
|
|
|
|
IMAGE_MOD_UNDO, /*< desc="Image Mod" >*/
|
|
|
|
IMAGE_TYPE_UNDO, /*< desc="Image Type" >*/
|
|
|
|
IMAGE_SIZE_UNDO, /*< desc="Image Size" >*/
|
|
|
|
IMAGE_RESOLUTION_UNDO, /*< desc="Resolution Change" >*/
|
|
|
|
IMAGE_QMASK_UNDO, /*< desc="QuickMask" >*/
|
|
|
|
IMAGE_GUIDE_UNDO, /*< desc="Guide" >*/
|
|
|
|
MASK_UNDO, /*< desc="Selection Mask" >*/
|
|
|
|
ITEM_RENAME_UNDO, /*< desc="Rename Item" >*/
|
|
|
|
LAYER_ADD_UNDO, /*< desc="New Layer" >*/
|
|
|
|
LAYER_REMOVE_UNDO, /*< desc="Delete Layer" >*/
|
|
|
|
LAYER_MOD_UNDO, /*< desc="Layer Mod" >*/
|
|
|
|
LAYER_MASK_ADD_UNDO, /*< desc="Add Layer Mask" >*/
|
|
|
|
LAYER_MASK_REMOVE_UNDO, /*< desc="Delete Layer Mask" >*/
|
|
|
|
LAYER_REPOSITION_UNDO, /*< desc="Layer Reposition" >*/
|
|
|
|
LAYER_DISPLACE_UNDO, /*< desc="Layer Move" >*/
|
|
|
|
CHANNEL_ADD_UNDO, /*< desc="New Channel" >*/
|
|
|
|
CHANNEL_REMOVE_UNDO, /*< desc="Delete Channel" >*/
|
|
|
|
CHANNEL_MOD_UNDO, /*< desc="Channel Mod" >*/
|
|
|
|
CHANNEL_REPOSITION_UNDO, /*< desc="Channel Reposition" >*/
|
|
|
|
VECTORS_ADD_UNDO, /*< desc="New Vectors" >*/
|
|
|
|
VECTORS_REMOVE_UNDO, /*< desc="Delete Vectors" >*/
|
|
|
|
VECTORS_MOD_UNDO, /*< desc="Vectors Mod" >*/
|
|
|
|
VECTORS_REPOSITION_UNDO, /*< desc="Vectors Reposition" >*/
|
|
|
|
FS_TO_LAYER_UNDO, /*< desc="FS to Layer" >*/
|
|
|
|
FS_RIGOR_UNDO, /*< desc="FS Rigor" >*/
|
|
|
|
FS_RELAX_UNDO, /*< desc="FS Relax" >*/
|
|
|
|
TRANSFORM_UNDO, /*< desc="Transform" >*/
|
|
|
|
PAINT_UNDO, /*< desc="Paint" >*/
|
|
|
|
PARASITE_ATTACH_UNDO, /*< desc="Attach Parasite" >*/
|
|
|
|
PARASITE_REMOVE_UNDO, /*< desc="Remove Parasite" >*/
|
|
|
|
|
|
|
|
CANT_UNDO, /*< desc="EEK: can't undo" >*/
|
|
|
|
} GimpUndoType;
|
|
|
|
|
|
|
|
|
2003-02-07 17:12:21 +00:00
|
|
|
/*
|
|
|
|
* non-registered enums; register them if needed
|
|
|
|
*/
|
|
|
|
|
2002-03-29 03:50:29 +00:00
|
|
|
typedef enum /*< proxy-skip >*/ /*< skip >*/
|
2002-03-18 13:55:19 +00:00
|
|
|
{
|
|
|
|
GIMP_MAKE_PALETTE,
|
|
|
|
GIMP_REUSE_PALETTE,
|
|
|
|
GIMP_WEB_PALETTE,
|
|
|
|
GIMP_MONO_PALETTE,
|
|
|
|
GIMP_CUSTOM_PALETTE
|
|
|
|
} GimpConvertPaletteType;
|
2002-03-18 11:07:34 +00:00
|
|
|
|
2001-12-11 18:53:03 +00:00
|
|
|
typedef enum /*< pdb-skip >*/ /*< skip >*/
|
|
|
|
{
|
|
|
|
GIMP_GRAD_LINEAR = 0,
|
|
|
|
GIMP_GRAD_CURVED,
|
|
|
|
GIMP_GRAD_SINE,
|
|
|
|
GIMP_GRAD_SPHERE_INCREASING,
|
|
|
|
GIMP_GRAD_SPHERE_DECREASING
|
|
|
|
} GimpGradientSegmentType;
|
|
|
|
|
|
|
|
typedef enum /*< pdb-skip >*/ /*< skip >*/
|
|
|
|
{
|
2002-03-18 13:55:19 +00:00
|
|
|
GIMP_GRAD_RGB, /* normal RGB */
|
2001-12-11 18:53:03 +00:00
|
|
|
GIMP_GRAD_HSV_CCW, /* counterclockwise hue */
|
2002-03-18 13:55:19 +00:00
|
|
|
GIMP_GRAD_HSV_CW /* clockwise hue */
|
2001-12-11 18:53:03 +00:00
|
|
|
} GimpGradientSegmentColor;
|
|
|
|
|
2002-03-18 11:07:34 +00:00
|
|
|
typedef enum /*< skip >*/
|
|
|
|
{
|
|
|
|
GIMP_ADD_WHITE_MASK,
|
|
|
|
GIMP_ADD_BLACK_MASK,
|
|
|
|
GIMP_ADD_ALPHA_MASK,
|
|
|
|
GIMP_ADD_SELECTION_MASK,
|
|
|
|
GIMP_ADD_INVERSE_SELECTION_MASK,
|
|
|
|
GIMP_ADD_COPY_MASK,
|
|
|
|
GIMP_ADD_INVERSE_COPY_MASK
|
|
|
|
} GimpAddMaskType;
|
|
|
|
|
|
|
|
typedef enum /*< skip >*/
|
|
|
|
{
|
|
|
|
GIMP_MASK_APPLY,
|
|
|
|
GIMP_MASK_DISCARD
|
|
|
|
} GimpMaskApplyMode;
|
|
|
|
|
2002-03-18 17:24:52 +00:00
|
|
|
typedef enum /*< skip >*/
|
|
|
|
{
|
|
|
|
GIMP_EXPAND_AS_NECESSARY,
|
|
|
|
GIMP_CLIP_TO_IMAGE,
|
|
|
|
GIMP_CLIP_TO_BOTTOM_LAYER,
|
|
|
|
GIMP_FLATTEN_IMAGE
|
|
|
|
} GimpMergeType;
|
|
|
|
|
|
|
|
typedef enum /*< skip >*/
|
|
|
|
{
|
|
|
|
GIMP_OFFSET_BACKGROUND,
|
|
|
|
GIMP_OFFSET_TRANSPARENT
|
|
|
|
} GimpOffsetType;
|
|
|
|
|
2001-12-11 18:11:56 +00:00
|
|
|
|
2002-03-29 03:50:29 +00:00
|
|
|
#endif /* __CORE_ENUMS_H__ */
|