106 lines
2.8 KiB
C
106 lines
2.8 KiB
C
|
|
/* Generated data (by pika-mkenums) */
|
|
|
|
#include "stamp-paint-enums.h"
|
|
#include "config.h"
|
|
#include <gio/gio.h>
|
|
#include "libpikabase/pikabase.h"
|
|
#include "paint-enums.h"
|
|
#include "pika-intl.h"
|
|
|
|
/* enumerations from "paint-enums.h" */
|
|
GType
|
|
pika_brush_application_mode_get_type (void)
|
|
{
|
|
static const GEnumValue values[] =
|
|
{
|
|
{ PIKA_BRUSH_HARD, "PIKA_BRUSH_HARD", "hard" },
|
|
{ PIKA_BRUSH_SOFT, "PIKA_BRUSH_SOFT", "soft" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
static const PikaEnumDesc descs[] =
|
|
{
|
|
{ PIKA_BRUSH_HARD, "PIKA_BRUSH_HARD", NULL },
|
|
{ PIKA_BRUSH_SOFT, "PIKA_BRUSH_SOFT", NULL },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
static GType type = 0;
|
|
|
|
if (G_UNLIKELY (! type))
|
|
{
|
|
type = g_enum_register_static ("PikaBrushApplicationMode", values);
|
|
pika_type_set_translation_context (type, "brush-application-mode");
|
|
pika_enum_set_value_descriptions (type, descs);
|
|
}
|
|
|
|
return type;
|
|
}
|
|
|
|
GType
|
|
pika_perspective_clone_mode_get_type (void)
|
|
{
|
|
static const GEnumValue values[] =
|
|
{
|
|
{ PIKA_PERSPECTIVE_CLONE_MODE_ADJUST, "PIKA_PERSPECTIVE_CLONE_MODE_ADJUST", "adjust" },
|
|
{ PIKA_PERSPECTIVE_CLONE_MODE_PAINT, "PIKA_PERSPECTIVE_CLONE_MODE_PAINT", "paint" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
static const PikaEnumDesc descs[] =
|
|
{
|
|
{ PIKA_PERSPECTIVE_CLONE_MODE_ADJUST, NC_("perspective-clone-mode", "Modify Perspective"), NULL },
|
|
{ PIKA_PERSPECTIVE_CLONE_MODE_PAINT, NC_("perspective-clone-mode", "Perspective Clone"), NULL },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
static GType type = 0;
|
|
|
|
if (G_UNLIKELY (! type))
|
|
{
|
|
type = g_enum_register_static ("PikaPerspectiveCloneMode", values);
|
|
pika_type_set_translation_context (type, "perspective-clone-mode");
|
|
pika_enum_set_value_descriptions (type, descs);
|
|
}
|
|
|
|
return type;
|
|
}
|
|
|
|
GType
|
|
pika_source_align_mode_get_type (void)
|
|
{
|
|
static const GEnumValue values[] =
|
|
{
|
|
{ PIKA_SOURCE_ALIGN_NO, "PIKA_SOURCE_ALIGN_NO", "no" },
|
|
{ PIKA_SOURCE_ALIGN_YES, "PIKA_SOURCE_ALIGN_YES", "yes" },
|
|
{ PIKA_SOURCE_ALIGN_REGISTERED, "PIKA_SOURCE_ALIGN_REGISTERED", "registered" },
|
|
{ PIKA_SOURCE_ALIGN_FIXED, "PIKA_SOURCE_ALIGN_FIXED", "fixed" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
static const PikaEnumDesc descs[] =
|
|
{
|
|
{ PIKA_SOURCE_ALIGN_NO, NC_("source-align-mode", "None"), NULL },
|
|
{ PIKA_SOURCE_ALIGN_YES, NC_("source-align-mode", "Aligned"), NULL },
|
|
{ PIKA_SOURCE_ALIGN_REGISTERED, NC_("source-align-mode", "Registered"), NULL },
|
|
{ PIKA_SOURCE_ALIGN_FIXED, NC_("source-align-mode", "Fixed"), NULL },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
static GType type = 0;
|
|
|
|
if (G_UNLIKELY (! type))
|
|
{
|
|
type = g_enum_register_static ("PikaSourceAlignMode", values);
|
|
pika_type_set_translation_context (type, "source-align-mode");
|
|
pika_enum_set_value_descriptions (type, descs);
|
|
}
|
|
|
|
return type;
|
|
}
|
|
|
|
|
|
/* Generated data ends here */
|
|
|