2006-12-09 13:33:38 -08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1997-11-24 14:05:25 -08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
1997-11-24 14:05:25 -08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 14:28:01 -08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
1997-11-24 14:05:25 -08:00
|
|
|
* (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
|
2018-07-11 14:47:19 -07:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
1997-11-24 14:05:25 -08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __SCRIPT_FU_ENUMS_H__
|
|
|
|
|
#define __SCRIPT_FU_ENUMS_H__
|
|
|
|
|
|
|
|
|
|
/* Typedefs for script-fu argument types */
|
|
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
|
{
|
|
|
|
|
SF_IMAGE = 0,
|
|
|
|
|
SF_DRAWABLE,
|
|
|
|
|
SF_LAYER,
|
|
|
|
|
SF_CHANNEL,
|
2006-11-15 17:29:49 -08:00
|
|
|
SF_VECTORS,
|
1997-11-24 14:05:25 -08:00
|
|
|
SF_COLOR,
|
|
|
|
|
SF_TOGGLE,
|
1998-08-05 12:58:10 -07:00
|
|
|
SF_VALUE,
|
1998-08-06 07:58:39 -07:00
|
|
|
SF_STRING,
|
1998-08-10 08:06:58 -07:00
|
|
|
SF_ADJUSTMENT,
|
1998-10-01 15:09:01 -07:00
|
|
|
SF_FONT,
|
1998-10-20 15:36:52 -07:00
|
|
|
SF_PATTERN,
|
1998-10-31 08:22:37 -08:00
|
|
|
SF_BRUSH,
|
1998-11-05 16:51:39 -08:00
|
|
|
SF_GRADIENT,
|
2000-04-27 17:02:11 -07:00
|
|
|
SF_FILENAME,
|
2001-11-21 10:50:50 -08:00
|
|
|
SF_DIRNAME,
|
2004-07-27 08:15:58 -07:00
|
|
|
SF_OPTION,
|
2004-09-23 11:19:24 -07:00
|
|
|
SF_PALETTE,
|
2005-01-22 14:46:24 -08:00
|
|
|
SF_TEXT,
|
2007-04-12 08:56:57 -07:00
|
|
|
SF_ENUM,
|
|
|
|
|
SF_DISPLAY
|
1997-11-24 14:05:25 -08:00
|
|
|
} SFArgType;
|
|
|
|
|
|
1998-08-06 07:58:39 -07:00
|
|
|
typedef enum
|
|
|
|
|
{
|
|
|
|
|
SF_SLIDER = 0,
|
2004-07-27 08:15:58 -07:00
|
|
|
SF_SPINNER
|
1998-08-06 07:58:39 -07:00
|
|
|
} SFAdjustmentType;
|
|
|
|
|
|
1997-11-24 14:05:25 -08:00
|
|
|
#endif /* __SCRIPT_FU_ENUMS__ */
|