2002-03-20 03:17:31 +08:00
|
|
|
|
|
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include "paint-enums.h"
|
|
|
|
#include "libgimp/gimpintl.h"
|
|
|
|
|
|
|
|
/* enumerations from "./paint-enums.h" */
|
|
|
|
|
|
|
|
static const GEnumValue gimp_clone_type_enum_values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_IMAGE_CLONE, N_("Image Source"), "image-clone" },
|
|
|
|
{ GIMP_PATTERN_CLONE, N_("Pattern Source"), "pattern-clone" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_clone_type_get_type (void)
|
|
|
|
{
|
|
|
|
static GType enum_type = 0;
|
|
|
|
|
|
|
|
if (!enum_type)
|
|
|
|
enum_type = g_enum_register_static ("GimpCloneType", gimp_clone_type_enum_values);
|
|
|
|
|
|
|
|
return enum_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const GEnumValue gimp_clone_align_mode_enum_values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_CLONE_ALIGN_NO, N_("Non Aligned"), "no" },
|
|
|
|
{ GIMP_CLONE_ALIGN_YES, N_("Aligned"), "yes" },
|
|
|
|
{ GIMP_CLONE_ALIGN_REGISTERED, N_("Registered"), "registered" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_clone_align_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static GType enum_type = 0;
|
|
|
|
|
|
|
|
if (!enum_type)
|
|
|
|
enum_type = g_enum_register_static ("GimpCloneAlignMode", gimp_clone_align_mode_enum_values);
|
|
|
|
|
|
|
|
return enum_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const GEnumValue gimp_dodge_burn_type_enum_values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_DODGE, N_("Dodge"), "dodge" },
|
|
|
|
{ GIMP_BURN, N_("Burn"), "burn" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_dodge_burn_type_get_type (void)
|
|
|
|
{
|
|
|
|
static GType enum_type = 0;
|
|
|
|
|
|
|
|
if (!enum_type)
|
|
|
|
enum_type = g_enum_register_static ("GimpDodgeBurnType", gimp_dodge_burn_type_enum_values);
|
|
|
|
|
|
|
|
return enum_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const GEnumValue gimp_gradient_paint_mode_enum_values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_GRADIENT_ONCE_FORWARD, N_("Once Forward"), "once-forward" },
|
|
|
|
{ GIMP_GRADIENT_ONCE_BACKWARD, N_("Once Backward"), "once-backward" },
|
|
|
|
{ GIMP_GRADIENT_LOOP_SAWTOOTH, N_("Loop Sawtooth"), "loop-sawtooth" },
|
|
|
|
{ GIMP_GRADIENT_LOOP_TRIANGLE, N_("Loop Triangle"), "loop-triangle" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_gradient_paint_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static GType enum_type = 0;
|
|
|
|
|
|
|
|
if (!enum_type)
|
|
|
|
enum_type = g_enum_register_static ("GimpGradientPaintMode", gimp_gradient_paint_mode_enum_values);
|
|
|
|
|
|
|
|
return enum_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const GEnumValue gimp_convolve_type_enum_values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_BLUR_CONVOLVE, N_("Blur"), "blur-convolve" },
|
|
|
|
{ GIMP_SHARPEN_CONVOLVE, N_("Sharpen"), "sharpen-convolve" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_convolve_type_get_type (void)
|
|
|
|
{
|
|
|
|
static GType enum_type = 0;
|
|
|
|
|
|
|
|
if (!enum_type)
|
|
|
|
enum_type = g_enum_register_static ("GimpConvolveType", gimp_convolve_type_enum_values);
|
|
|
|
|
|
|
|
return enum_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2003-02-08 23:27:51 +08:00
|
|
|
static const GEnumValue gimp_ink_blob_type_enum_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 }
|
|
|
|
};
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_ink_blob_type_get_type (void)
|
|
|
|
{
|
|
|
|
static GType enum_type = 0;
|
|
|
|
|
|
|
|
if (!enum_type)
|
|
|
|
enum_type = g_enum_register_static ("GimpInkBlobType", gimp_ink_blob_type_enum_values);
|
|
|
|
|
|
|
|
return enum_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-03-20 03:17:31 +08:00
|
|
|
/* Generated data ends here */
|
|
|
|
|