PIKApp/libpikaconfig/pikaconfigenums.c

81 lines
2.8 KiB
C
Raw Normal View History

2023-09-26 00:35:21 +02:00
/* Generated data (by pika-mkenums) */
#include "stamp-pikaconfigenums.h"
#include "config.h"
#include <gio/gio.h>
#include "libpikabase/pikabase.h"
#include "pikaconfigenums.h"
#include "libpika/libpika-intl.h"
/* enumerations from "pikaconfigenums.h" */
GType
pika_color_management_mode_get_type (void)
{
static const GEnumValue values[] =
{
{ PIKA_COLOR_MANAGEMENT_OFF, "PIKA_COLOR_MANAGEMENT_OFF", "off" },
{ PIKA_COLOR_MANAGEMENT_DISPLAY, "PIKA_COLOR_MANAGEMENT_DISPLAY", "display" },
{ PIKA_COLOR_MANAGEMENT_SOFTPROOF, "PIKA_COLOR_MANAGEMENT_SOFTPROOF", "softproof" },
{ 0, NULL, NULL }
};
static const PikaEnumDesc descs[] =
{
{ PIKA_COLOR_MANAGEMENT_OFF, NC_("color-management-mode", "No color management"), NULL },
{ PIKA_COLOR_MANAGEMENT_DISPLAY, NC_("color-management-mode", "Color-managed display"), NULL },
{ PIKA_COLOR_MANAGEMENT_SOFTPROOF, NC_("color-management-mode", "Soft-proofing"), NULL },
{ 0, NULL, NULL }
};
static GType type = 0;
if (G_UNLIKELY (! type))
{
type = g_enum_register_static ("PikaColorManagementMode", values);
pika_type_set_translation_domain (type, GETTEXT_PACKAGE "-libpika");
pika_type_set_translation_context (type, "color-management-mode");
pika_enum_set_value_descriptions (type, descs);
}
return type;
}
GType
pika_color_rendering_intent_get_type (void)
{
static const GEnumValue values[] =
{
{ PIKA_COLOR_RENDERING_INTENT_PERCEPTUAL, "PIKA_COLOR_RENDERING_INTENT_PERCEPTUAL", "perceptual" },
{ PIKA_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, "PIKA_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC", "relative-colorimetric" },
{ PIKA_COLOR_RENDERING_INTENT_SATURATION, "PIKA_COLOR_RENDERING_INTENT_SATURATION", "saturation" },
{ PIKA_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, "PIKA_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC", "absolute-colorimetric" },
{ 0, NULL, NULL }
};
static const PikaEnumDesc descs[] =
{
{ PIKA_COLOR_RENDERING_INTENT_PERCEPTUAL, NC_("color-rendering-intent", "Perceptual"), NULL },
{ PIKA_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, NC_("color-rendering-intent", "Relative colorimetric"), NULL },
{ PIKA_COLOR_RENDERING_INTENT_SATURATION, NC_("color-rendering-intent", "Saturation"), NULL },
{ PIKA_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC, NC_("color-rendering-intent", "Absolute colorimetric"), NULL },
{ 0, NULL, NULL }
};
static GType type = 0;
if (G_UNLIKELY (! type))
{
type = g_enum_register_static ("PikaColorRenderingIntent", values);
pika_type_set_translation_domain (type, GETTEXT_PACKAGE "-libpika");
pika_type_set_translation_context (type, "color-rendering-intent");
pika_enum_set_value_descriptions (type, descs);
}
return type;
}
/* Generated data ends here */