2002-03-20 03:17:31 +08:00
|
|
|
|
|
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
|
2022-08-02 01:16:04 +08:00
|
|
|
#include "stamp-paint-enums.h"
|
2002-03-20 03:17:31 +08:00
|
|
|
#include "config.h"
|
2013-10-15 07:58:39 +08:00
|
|
|
#include <gio/gio.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
|
|
|
|
2017-05-07 04:48:53 +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;
|
|
|
|
|
2008-11-04 05:38:13 +08:00
|
|
|
if (G_UNLIKELY (! type))
|
2006-03-27 23:14:36 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpBrushApplicationMode", values);
|
2008-11-06 16:28:28 +08:00
|
|
|
gimp_type_set_translation_context (type, "brush-application-mode");
|
2006-03-27 23:14:36 +08:00
|
|
|
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[] =
|
|
|
|
{
|
2008-11-06 16:28:28 +08:00
|
|
|
{ GIMP_PERSPECTIVE_CLONE_MODE_ADJUST, NC_("perspective-clone-mode", "Modify Perspective"), NULL },
|
|
|
|
{ GIMP_PERSPECTIVE_CLONE_MODE_PAINT, NC_("perspective-clone-mode", "Perspective Clone"), NULL },
|
2006-09-08 01:10:22 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
2008-11-04 05:38:13 +08:00
|
|
|
if (G_UNLIKELY (! type))
|
2006-09-08 01:10:22 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpPerspectiveCloneMode", values);
|
2008-11-06 16:28:28 +08:00
|
|
|
gimp_type_set_translation_context (type, "perspective-clone-mode");
|
2006-09-08 01:10:22 +08:00
|
|
|
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[] =
|
|
|
|
{
|
2008-11-06 16:28:28 +08:00
|
|
|
{ GIMP_SOURCE_ALIGN_NO, NC_("source-align-mode", "None"), NULL },
|
|
|
|
{ GIMP_SOURCE_ALIGN_YES, NC_("source-align-mode", "Aligned"), NULL },
|
|
|
|
{ GIMP_SOURCE_ALIGN_REGISTERED, NC_("source-align-mode", "Registered"), NULL },
|
|
|
|
{ GIMP_SOURCE_ALIGN_FIXED, NC_("source-align-mode", "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
|
|
|
|
2008-11-04 05:38:13 +08:00
|
|
|
if (G_UNLIKELY (! type))
|
2004-10-26 01:55:25 +08:00
|
|
|
{
|
2006-09-03 06:39:26 +08:00
|
|
|
type = g_enum_register_static ("GimpSourceAlignMode", values);
|
2008-11-06 16:28:28 +08:00
|
|
|
gimp_type_set_translation_context (type, "source-align-mode");
|
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
|
|
|
|
2003-03-25 01:58:28 +08:00
|
|
|
|
2002-03-20 03:17:31 +08:00
|
|
|
/* Generated data ends here */
|
|
|
|
|