2002-03-20 03:17:31 +08:00
|
|
|
|
|
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <glib-object.h>
|
2004-10-26 01:55:25 +08:00
|
|
|
#include "libgimpbase/gimpbase.h"
|
2002-03-20 03:17:31 +08:00
|
|
|
#include "paint-enums.h"
|
2003-03-26 00:38:19 +08:00
|
|
|
#include "gimp-intl.h"
|
2002-03-20 03:17:31 +08:00
|
|
|
|
|
|
|
/* enumerations from "./paint-enums.h" */
|
2006-03-27 23:14:36 +08:00
|
|
|
GType
|
|
|
|
gimp_brush_application_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_BRUSH_HARD, "GIMP_BRUSH_HARD", "hard" },
|
|
|
|
{ GIMP_BRUSH_SOFT, "GIMP_BRUSH_SOFT", "soft" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
|
|
|
{ GIMP_BRUSH_HARD, "GIMP_BRUSH_HARD", NULL },
|
|
|
|
{ GIMP_BRUSH_SOFT, "GIMP_BRUSH_SOFT", NULL },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
|
|
|
if (! type)
|
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpBrushApplicationMode", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
|
|
|
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
2006-09-08 01:10:22 +08:00
|
|
|
GType
|
|
|
|
gimp_perspective_clone_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_PERSPECTIVE_CLONE_MODE_ADJUST, "GIMP_PERSPECTIVE_CLONE_MODE_ADJUST", "adjust" },
|
|
|
|
{ GIMP_PERSPECTIVE_CLONE_MODE_PAINT, "GIMP_PERSPECTIVE_CLONE_MODE_PAINT", "paint" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
2007-10-16 23:02:16 +08:00
|
|
|
{ GIMP_PERSPECTIVE_CLONE_MODE_ADJUST, N_("Modify Perspective"), NULL },
|
2006-09-08 01:10:22 +08:00
|
|
|
{ GIMP_PERSPECTIVE_CLONE_MODE_PAINT, N_("Perspective Clone"), NULL },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
|
|
|
if (! type)
|
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpPerspectiveCloneMode", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
|
|
|
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
2002-03-20 03:17:31 +08:00
|
|
|
GType
|
2006-09-03 06:39:26 +08:00
|
|
|
gimp_source_align_mode_get_type (void)
|
2002-03-20 03:17:31 +08:00
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
2006-09-03 06:39:26 +08:00
|
|
|
{ GIMP_SOURCE_ALIGN_NO, "GIMP_SOURCE_ALIGN_NO", "no" },
|
|
|
|
{ GIMP_SOURCE_ALIGN_YES, "GIMP_SOURCE_ALIGN_YES", "yes" },
|
|
|
|
{ GIMP_SOURCE_ALIGN_REGISTERED, "GIMP_SOURCE_ALIGN_REGISTERED", "registered" },
|
|
|
|
{ GIMP_SOURCE_ALIGN_FIXED, "GIMP_SOURCE_ALIGN_FIXED", "fixed" },
|
2004-10-26 01:55:25 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
2006-09-03 06:39:26 +08:00
|
|
|
{ GIMP_SOURCE_ALIGN_NO, N_("None"), NULL },
|
|
|
|
{ GIMP_SOURCE_ALIGN_YES, N_("Aligned"), NULL },
|
|
|
|
{ GIMP_SOURCE_ALIGN_REGISTERED, N_("Registered"), NULL },
|
|
|
|
{ GIMP_SOURCE_ALIGN_FIXED, N_("Fixed"), NULL },
|
2004-07-28 19:50:20 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2002-03-20 03:17:31 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2002-03-20 03:17:31 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
2004-10-26 01:55:25 +08:00
|
|
|
{
|
2006-09-03 06:39:26 +08:00
|
|
|
type = g_enum_register_static ("GimpSourceAlignMode", values);
|
2004-10-26 01:55:25 +08:00
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
2002-03-20 03:17:31 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2002-03-20 03:17:31 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_convolve_type_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
2004-10-26 01:55:25 +08:00
|
|
|
{ GIMP_BLUR_CONVOLVE, "GIMP_BLUR_CONVOLVE", "blur-convolve" },
|
|
|
|
{ GIMP_SHARPEN_CONVOLVE, "GIMP_SHARPEN_CONVOLVE", "sharpen-convolve" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
|
|
|
{ GIMP_BLUR_CONVOLVE, N_("Blur"), NULL },
|
|
|
|
{ GIMP_SHARPEN_CONVOLVE, N_("Sharpen"), NULL },
|
2004-07-28 19:50:20 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2002-03-20 03:17:31 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2002-03-20 03:17:31 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
2004-10-26 01:55:25 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpConvolveType", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
2002-03-20 03:17:31 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-02-08 23:27:51 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_ink_blob_type_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_INK_BLOB_TYPE_ELLIPSE, "GIMP_INK_BLOB_TYPE_ELLIPSE", "ellipse" },
|
|
|
|
{ GIMP_INK_BLOB_TYPE_SQUARE, "GIMP_INK_BLOB_TYPE_SQUARE", "square" },
|
|
|
|
{ GIMP_INK_BLOB_TYPE_DIAMOND, "GIMP_INK_BLOB_TYPE_DIAMOND", "diamond" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-02-08 23:27:51 +08:00
|
|
|
|
2004-10-26 01:55:25 +08:00
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
|
|
|
{ GIMP_INK_BLOB_TYPE_ELLIPSE, "GIMP_INK_BLOB_TYPE_ELLIPSE", NULL },
|
|
|
|
{ GIMP_INK_BLOB_TYPE_SQUARE, "GIMP_INK_BLOB_TYPE_SQUARE", NULL },
|
|
|
|
{ GIMP_INK_BLOB_TYPE_DIAMOND, "GIMP_INK_BLOB_TYPE_DIAMOND", NULL },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2003-02-08 23:27:51 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
2004-10-26 01:55:25 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpInkBlobType", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
2003-02-08 23:27:51 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-03-25 01:58:28 +08:00
|
|
|
|
|
|
|
|
2002-03-20 03:17:31 +08:00
|
|
|
/* Generated data ends here */
|
|
|
|
|