1997-11-24 14:05:25 -08: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
|
1998-04-12 22:44:11 -07:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
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,
|
|
|
|
|
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,
|
2000-04-27 17:02:11 -07:00
|
|
|
SF_OPTION
|
1997-11-24 14:05:25 -08:00
|
|
|
} SFArgType;
|
|
|
|
|
|
1998-08-06 07:58:39 -07:00
|
|
|
typedef enum
|
|
|
|
|
{
|
|
|
|
|
SF_SLIDER = 0,
|
|
|
|
|
SF_SPINNER
|
|
|
|
|
} SFAdjustmentType;
|
|
|
|
|
|
1997-11-24 14:05:25 -08:00
|
|
|
#endif /* __SCRIPT_FU_ENUMS__ */
|