PIKApp/app/text/text-enums.c

75 lines
1.9 KiB
C

/* Generated data (by pika-mkenums) */
#include "stamp-text-enums.h"
#include "config.h"
#include <gio/gio.h>
#include "libpikabase/pikabase.h"
#include "text-enums.h"
#include "pika-intl.h"
/* enumerations from "text-enums.h" */
GType
pika_text_box_mode_get_type (void)
{
static const GEnumValue values[] =
{
{ PIKA_TEXT_BOX_DYNAMIC, "PIKA_TEXT_BOX_DYNAMIC", "dynamic" },
{ PIKA_TEXT_BOX_FIXED, "PIKA_TEXT_BOX_FIXED", "fixed" },
{ 0, NULL, NULL }
};
static const PikaEnumDesc descs[] =
{
{ PIKA_TEXT_BOX_DYNAMIC, NC_("text-box-mode", "Dynamic"), NULL },
{ PIKA_TEXT_BOX_FIXED, NC_("text-box-mode", "Fixed"), NULL },
{ 0, NULL, NULL }
};
static GType type = 0;
if (G_UNLIKELY (! type))
{
type = g_enum_register_static ("PikaTextBoxMode", values);
pika_type_set_translation_context (type, "text-box-mode");
pika_enum_set_value_descriptions (type, descs);
}
return type;
}
GType
pika_text_outline_get_type (void)
{
static const GEnumValue values[] =
{
{ PIKA_TEXT_OUTLINE_NONE, "PIKA_TEXT_OUTLINE_NONE", "none" },
{ PIKA_TEXT_OUTLINE_STROKE_ONLY, "PIKA_TEXT_OUTLINE_STROKE_ONLY", "stroke-only" },
{ PIKA_TEXT_OUTLINE_STROKE_FILL, "PIKA_TEXT_OUTLINE_STROKE_FILL", "stroke-fill" },
{ 0, NULL, NULL }
};
static const PikaEnumDesc descs[] =
{
{ PIKA_TEXT_OUTLINE_NONE, NC_("text-outline", "Filled"), NULL },
{ PIKA_TEXT_OUTLINE_STROKE_ONLY, NC_("text-outline", "Outlined"), NULL },
{ PIKA_TEXT_OUTLINE_STROKE_FILL, NC_("text-outline", "Outlined and filled"), NULL },
{ 0, NULL, NULL }
};
static GType type = 0;
if (G_UNLIKELY (! type))
{
type = g_enum_register_static ("PikaTextOutline", values);
pika_type_set_translation_context (type, "text-outline");
pika_enum_set_value_descriptions (type, descs);
}
return type;
}
/* Generated data ends here */