45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
|
|
||
|
/* Generated data (by pika-mkenums) */
|
||
|
|
||
|
#include "stamp-pika-gegl-enums.h"
|
||
|
#include "config.h"
|
||
|
#include <gio/gio.h>
|
||
|
#include "libpikabase/pikabase.h"
|
||
|
#include "core/core-enums.h"
|
||
|
#include "pika-gegl-enums.h"
|
||
|
#include "pika-intl.h"
|
||
|
|
||
|
/* enumerations from "pika-gegl-enums.h" */
|
||
|
GType
|
||
|
pika_cage_mode_get_type (void)
|
||
|
{
|
||
|
static const GEnumValue values[] =
|
||
|
{
|
||
|
{ PIKA_CAGE_MODE_CAGE_CHANGE, "PIKA_CAGE_MODE_CAGE_CHANGE", "cage-change" },
|
||
|
{ PIKA_CAGE_MODE_DEFORM, "PIKA_CAGE_MODE_DEFORM", "deform" },
|
||
|
{ 0, NULL, NULL }
|
||
|
};
|
||
|
|
||
|
static const PikaEnumDesc descs[] =
|
||
|
{
|
||
|
{ PIKA_CAGE_MODE_CAGE_CHANGE, NC_("cage-mode", "Create or adjust the cage"), NULL },
|
||
|
{ PIKA_CAGE_MODE_DEFORM, NC_("cage-mode", "Deform the cage\nto deform the image"), NULL },
|
||
|
{ 0, NULL, NULL }
|
||
|
};
|
||
|
|
||
|
static GType type = 0;
|
||
|
|
||
|
if (G_UNLIKELY (! type))
|
||
|
{
|
||
|
type = g_enum_register_static ("PikaCageMode", values);
|
||
|
pika_type_set_translation_context (type, "cage-mode");
|
||
|
pika_enum_set_value_descriptions (type, descs);
|
||
|
}
|
||
|
|
||
|
return type;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Generated data ends here */
|
||
|
|