2002-03-17 22:07:54 +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-17 22:07:54 +08:00
|
|
|
#include "base-enums.h"
|
2003-03-26 00:38:19 +08:00
|
|
|
#include "gimp-intl.h"
|
2002-03-17 22:07:54 +08:00
|
|
|
|
|
|
|
/* enumerations from "./base-enums.h" */
|
|
|
|
GType
|
2003-03-15 03:58:59 +08:00
|
|
|
gimp_curve_type_get_type (void)
|
2002-03-17 22:07:54 +08:00
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
2004-10-26 01:55:25 +08:00
|
|
|
{ GIMP_CURVE_SMOOTH, "GIMP_CURVE_SMOOTH", "smooth" },
|
|
|
|
{ GIMP_CURVE_FREE, "GIMP_CURVE_FREE", "free" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
|
|
|
{ GIMP_CURVE_SMOOTH, N_("Smooth"), NULL },
|
|
|
|
{ GIMP_CURVE_FREE, N_("Freehand"), NULL },
|
2004-07-28 19:50:20 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2002-03-17 22:07:54 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2002-03-17 22:07:54 +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 ("GimpCurveType", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
2002-03-17 22:07:54 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2002-03-17 22:07:54 +08:00
|
|
|
|
|
|
|
GType
|
2003-03-15 03:58:59 +08:00
|
|
|
gimp_histogram_channel_get_type (void)
|
2002-03-17 22:07:54 +08:00
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
2004-10-26 01:55:25 +08:00
|
|
|
{ GIMP_HISTOGRAM_VALUE, "GIMP_HISTOGRAM_VALUE", "value" },
|
|
|
|
{ GIMP_HISTOGRAM_RED, "GIMP_HISTOGRAM_RED", "red" },
|
|
|
|
{ GIMP_HISTOGRAM_GREEN, "GIMP_HISTOGRAM_GREEN", "green" },
|
|
|
|
{ GIMP_HISTOGRAM_BLUE, "GIMP_HISTOGRAM_BLUE", "blue" },
|
|
|
|
{ GIMP_HISTOGRAM_ALPHA, "GIMP_HISTOGRAM_ALPHA", "alpha" },
|
|
|
|
{ GIMP_HISTOGRAM_RGB, "GIMP_HISTOGRAM_RGB", "rgb" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
|
|
|
{ GIMP_HISTOGRAM_VALUE, N_("Value"), NULL },
|
|
|
|
{ GIMP_HISTOGRAM_RED, N_("Red"), NULL },
|
|
|
|
{ GIMP_HISTOGRAM_GREEN, N_("Green"), NULL },
|
|
|
|
{ GIMP_HISTOGRAM_BLUE, N_("Blue"), NULL },
|
|
|
|
{ GIMP_HISTOGRAM_ALPHA, N_("Alpha"), NULL },
|
|
|
|
{ GIMP_HISTOGRAM_RGB, N_("RGB"), NULL },
|
2004-07-28 19:50:20 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
|
|
|
if (! type)
|
2004-10-26 01:55:25 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpHistogramChannel", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
2004-07-28 19:50:20 +08:00
|
|
|
|
|
|
|
return type;
|
2002-03-17 22:07:54 +08:00
|
|
|
}
|
|
|
|
|
2003-03-15 03:58:59 +08:00
|
|
|
GType
|
|
|
|
gimp_layer_mode_effects_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_NORMAL_MODE, "GIMP_NORMAL_MODE", "normal-mode" },
|
|
|
|
{ GIMP_DISSOLVE_MODE, "GIMP_DISSOLVE_MODE", "dissolve-mode" },
|
|
|
|
{ GIMP_BEHIND_MODE, "GIMP_BEHIND_MODE", "behind-mode" },
|
|
|
|
{ GIMP_MULTIPLY_MODE, "GIMP_MULTIPLY_MODE", "multiply-mode" },
|
|
|
|
{ GIMP_SCREEN_MODE, "GIMP_SCREEN_MODE", "screen-mode" },
|
|
|
|
{ GIMP_OVERLAY_MODE, "GIMP_OVERLAY_MODE", "overlay-mode" },
|
|
|
|
{ GIMP_DIFFERENCE_MODE, "GIMP_DIFFERENCE_MODE", "difference-mode" },
|
|
|
|
{ GIMP_ADDITION_MODE, "GIMP_ADDITION_MODE", "addition-mode" },
|
|
|
|
{ GIMP_SUBTRACT_MODE, "GIMP_SUBTRACT_MODE", "subtract-mode" },
|
|
|
|
{ GIMP_DARKEN_ONLY_MODE, "GIMP_DARKEN_ONLY_MODE", "darken-only-mode" },
|
|
|
|
{ GIMP_LIGHTEN_ONLY_MODE, "GIMP_LIGHTEN_ONLY_MODE", "lighten-only-mode" },
|
|
|
|
{ GIMP_HUE_MODE, "GIMP_HUE_MODE", "hue-mode" },
|
|
|
|
{ GIMP_SATURATION_MODE, "GIMP_SATURATION_MODE", "saturation-mode" },
|
|
|
|
{ GIMP_COLOR_MODE, "GIMP_COLOR_MODE", "color-mode" },
|
|
|
|
{ GIMP_VALUE_MODE, "GIMP_VALUE_MODE", "value-mode" },
|
|
|
|
{ GIMP_DIVIDE_MODE, "GIMP_DIVIDE_MODE", "divide-mode" },
|
|
|
|
{ GIMP_DODGE_MODE, "GIMP_DODGE_MODE", "dodge-mode" },
|
|
|
|
{ GIMP_BURN_MODE, "GIMP_BURN_MODE", "burn-mode" },
|
|
|
|
{ GIMP_HARDLIGHT_MODE, "GIMP_HARDLIGHT_MODE", "hardlight-mode" },
|
|
|
|
{ GIMP_SOFTLIGHT_MODE, "GIMP_SOFTLIGHT_MODE", "softlight-mode" },
|
|
|
|
{ GIMP_GRAIN_EXTRACT_MODE, "GIMP_GRAIN_EXTRACT_MODE", "grain-extract-mode" },
|
|
|
|
{ GIMP_GRAIN_MERGE_MODE, "GIMP_GRAIN_MERGE_MODE", "grain-merge-mode" },
|
|
|
|
{ GIMP_COLOR_ERASE_MODE, "GIMP_COLOR_ERASE_MODE", "color-erase-mode" },
|
2006-10-22 02:46:49 +08:00
|
|
|
{ GIMP_ERASE_MODE, "GIMP_ERASE_MODE", "erase-mode" },
|
|
|
|
{ GIMP_REPLACE_MODE, "GIMP_REPLACE_MODE", "replace-mode" },
|
|
|
|
{ GIMP_ANTI_ERASE_MODE, "GIMP_ANTI_ERASE_MODE", "anti-erase-mode" },
|
2004-07-28 19:50:20 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
2004-10-26 01:55:25 +08:00
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
2004-12-29 06:07:29 +08:00
|
|
|
{ GIMP_NORMAL_MODE, N_("Normal"), NULL },
|
|
|
|
{ GIMP_DISSOLVE_MODE, N_("Dissolve"), NULL },
|
|
|
|
{ GIMP_BEHIND_MODE, N_("Behind"), NULL },
|
|
|
|
{ GIMP_MULTIPLY_MODE, N_("Multiply"), NULL },
|
|
|
|
{ GIMP_SCREEN_MODE, N_("Screen"), NULL },
|
|
|
|
{ GIMP_OVERLAY_MODE, N_("Overlay"), NULL },
|
|
|
|
{ GIMP_DIFFERENCE_MODE, N_("Difference"), NULL },
|
|
|
|
{ GIMP_ADDITION_MODE, N_("Addition"), NULL },
|
|
|
|
{ GIMP_SUBTRACT_MODE, N_("Subtract"), NULL },
|
|
|
|
{ GIMP_DARKEN_ONLY_MODE, N_("Darken only"), NULL },
|
|
|
|
{ GIMP_LIGHTEN_ONLY_MODE, N_("Lighten only"), NULL },
|
|
|
|
{ GIMP_HUE_MODE, N_("Hue"), NULL },
|
|
|
|
{ GIMP_SATURATION_MODE, N_("Saturation"), NULL },
|
|
|
|
{ GIMP_COLOR_MODE, N_("Color"), NULL },
|
|
|
|
{ GIMP_VALUE_MODE, N_("Value"), NULL },
|
|
|
|
{ GIMP_DIVIDE_MODE, N_("Divide"), NULL },
|
|
|
|
{ GIMP_DODGE_MODE, N_("Dodge"), NULL },
|
|
|
|
{ GIMP_BURN_MODE, N_("Burn"), NULL },
|
|
|
|
{ GIMP_HARDLIGHT_MODE, N_("Hard light"), NULL },
|
|
|
|
{ GIMP_SOFTLIGHT_MODE, N_("Soft light"), NULL },
|
|
|
|
{ GIMP_GRAIN_EXTRACT_MODE, N_("Grain extract"), NULL },
|
|
|
|
{ GIMP_GRAIN_MERGE_MODE, N_("Grain merge"), NULL },
|
|
|
|
{ GIMP_COLOR_ERASE_MODE, N_("Color erase"), NULL },
|
2006-10-22 02:46:49 +08:00
|
|
|
{ GIMP_ERASE_MODE, N_("Erase"), NULL },
|
|
|
|
{ GIMP_REPLACE_MODE, N_("Replace"), NULL },
|
2006-10-23 20:09:22 +08:00
|
|
|
{ GIMP_ANTI_ERASE_MODE, N_("Anti erase"), NULL },
|
2004-10-26 01:55:25 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
|
|
|
|
|
|
|
if (! type)
|
2004-10-26 01:55:25 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpLayerModeEffects", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
2004-07-28 19:50:20 +08:00
|
|
|
|
|
|
|
return type;
|
2002-03-17 22:07:54 +08:00
|
|
|
}
|
|
|
|
|
2006-03-27 21:49:19 +08:00
|
|
|
GType
|
|
|
|
gimp_hue_range_get_type (void)
|
|
|
|
{
|
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_ALL_HUES, "GIMP_ALL_HUES", "all-hues" },
|
|
|
|
{ GIMP_RED_HUES, "GIMP_RED_HUES", "red-hues" },
|
|
|
|
{ GIMP_YELLOW_HUES, "GIMP_YELLOW_HUES", "yellow-hues" },
|
|
|
|
{ GIMP_GREEN_HUES, "GIMP_GREEN_HUES", "green-hues" },
|
|
|
|
{ GIMP_CYAN_HUES, "GIMP_CYAN_HUES", "cyan-hues" },
|
|
|
|
{ GIMP_BLUE_HUES, "GIMP_BLUE_HUES", "blue-hues" },
|
|
|
|
{ GIMP_MAGENTA_HUES, "GIMP_MAGENTA_HUES", "magenta-hues" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
|
|
|
{ GIMP_ALL_HUES, "GIMP_ALL_HUES", NULL },
|
|
|
|
{ GIMP_RED_HUES, "GIMP_RED_HUES", NULL },
|
|
|
|
{ GIMP_YELLOW_HUES, "GIMP_YELLOW_HUES", NULL },
|
|
|
|
{ GIMP_GREEN_HUES, "GIMP_GREEN_HUES", NULL },
|
|
|
|
{ GIMP_CYAN_HUES, "GIMP_CYAN_HUES", NULL },
|
|
|
|
{ GIMP_BLUE_HUES, "GIMP_BLUE_HUES", NULL },
|
|
|
|
{ GIMP_MAGENTA_HUES, "GIMP_MAGENTA_HUES", NULL },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
|
|
|
if (! type)
|
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpHueRange", values);
|
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
|
|
|
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
2002-08-26 19:35:56 +08:00
|
|
|
|
2002-03-17 22:07:54 +08:00
|
|
|
/* Generated data ends here */
|
|
|
|
|