2005-02-07 06:15:54 +08:00
|
|
|
|
|
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
|
|
|
|
#include "config.h"
|
2013-10-15 07:58:39 +08:00
|
|
|
#include <gio/gio.h>
|
2011-04-28 20:30:41 +08:00
|
|
|
#include "libgimpbase/gimpbase.h"
|
2016-06-07 03:05:16 +08:00
|
|
|
#include "gimpconfigenums.h"
|
2005-02-07 06:15:54 +08:00
|
|
|
#include "libgimp/libgimp-intl.h"
|
|
|
|
|
2017-05-07 04:48:53 +08:00
|
|
|
/* enumerations from "gimpconfigenums.h" */
|
2005-02-07 06:15:54 +08:00
|
|
|
GType
|
|
|
|
gimp_color_management_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_COLOR_MANAGEMENT_OFF, "GIMP_COLOR_MANAGEMENT_OFF", "off" },
|
|
|
|
{ GIMP_COLOR_MANAGEMENT_DISPLAY, "GIMP_COLOR_MANAGEMENT_DISPLAY", "display" },
|
|
|
|
{ GIMP_COLOR_MANAGEMENT_SOFTPROOF, "GIMP_COLOR_MANAGEMENT_SOFTPROOF", "softproof" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
2008-11-06 16:28:28 +08:00
|
|
|
{ GIMP_COLOR_MANAGEMENT_OFF, NC_("color-management-mode", "No color management"), NULL },
|
2016-06-08 06:02:03 +08:00
|
|
|
{ GIMP_COLOR_MANAGEMENT_DISPLAY, NC_("color-management-mode", "Color-managed display"), NULL },
|
|
|
|
{ GIMP_COLOR_MANAGEMENT_SOFTPROOF, NC_("color-management-mode", "Soft-proofing"), NULL },
|
2005-02-07 06:15:54 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
2008-11-04 05:38:13 +08:00
|
|
|
if (G_UNLIKELY (! type))
|
2005-02-07 06:15:54 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpColorManagementMode", values);
|
|
|
|
gimp_type_set_translation_domain (type, GETTEXT_PACKAGE "-libgimp");
|
2008-11-06 16:28:28 +08:00
|
|
|
gimp_type_set_translation_context (type, "color-management-mode");
|
2005-02-07 06:15:54 +08:00
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
|
|
|
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_color_rendering_intent_get_type (void)
|
|
|
|
{
|
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, "GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL", "perceptual" },
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, "GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC", "relative-colorimetric" },
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_SATURATION, "GIMP_COLOR_RENDERING_INTENT_SATURATION", "saturation" },
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, "GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC", "absolute-colorimetric" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const GimpEnumDesc descs[] =
|
|
|
|
{
|
2008-11-06 16:28:28 +08:00
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, NC_("color-rendering-intent", "Perceptual"), NULL },
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, NC_("color-rendering-intent", "Relative colorimetric"), NULL },
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_SATURATION, NC_("color-rendering-intent", "Saturation"), NULL },
|
|
|
|
{ GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, NC_("color-rendering-intent", "Absolute colorimetric"), NULL },
|
2005-02-07 06:15:54 +08:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
2008-11-04 05:38:13 +08:00
|
|
|
if (G_UNLIKELY (! type))
|
2005-02-07 06:15:54 +08:00
|
|
|
{
|
|
|
|
type = g_enum_register_static ("GimpColorRenderingIntent", values);
|
|
|
|
gimp_type_set_translation_domain (type, GETTEXT_PACKAGE "-libgimp");
|
2008-11-06 16:28:28 +08:00
|
|
|
gimp_type_set_translation_context (type, "color-rendering-intent");
|
2005-02-07 06:15:54 +08:00
|
|
|
gimp_enum_set_value_descriptions (type, descs);
|
|
|
|
}
|
|
|
|
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Generated data ends here */
|
|
|
|
|