2002-03-29 03:50:29 +00:00
|
|
|
|
|
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <glib-object.h>
|
2003-04-15 14:20:19 +00:00
|
|
|
#include "core/core-enums.h"
|
|
|
|
#include "tools-enums.h"
|
|
|
|
#include "gimp-intl.h"
|
2002-03-29 03:50:29 +00:00
|
|
|
|
2003-04-15 14:20:19 +00:00
|
|
|
/* enumerations from "./tools-enums.h" */
|
2003-09-26 13:33:54 +00:00
|
|
|
GType
|
|
|
|
gimp_color_pick_mode_get_type (void)
|
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_COLOR_PICK_MODE_NONE, N_("Pick only"), "none" },
|
|
|
|
{ GIMP_COLOR_PICK_MODE_FOREGROUND, N_("Set foreground color"), "foreground" },
|
|
|
|
{ GIMP_COLOR_PICK_MODE_BACKGROUND, N_("Set background color"), "background" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-09-26 13:33:54 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
static GType type = 0;
|
2003-09-26 13:33:54 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpColorPickMode", values);
|
2003-09-26 13:33:54 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
|
|
|
}
|
2002-03-29 03:50:29 +00:00
|
|
|
|
|
|
|
GType
|
2003-09-26 16:20:05 +00:00
|
|
|
gimp_crop_mode_get_type (void)
|
2002-03-29 03:50:29 +00:00
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_CROP_MODE_CROP, N_("Crop"), "crop" },
|
|
|
|
{ GIMP_CROP_MODE_RESIZE, N_("Resize"), "resize" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2002-03-29 03:50:29 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
static GType type = 0;
|
2002-03-29 03:50:29 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpCropMode", values);
|
2002-03-29 03:50:29 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
|
|
|
}
|
2003-01-06 16:25:04 +00:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_rect_select_mode_get_type (void)
|
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_RECT_SELECT_MODE_FREE, N_("Free select"), "free" },
|
|
|
|
{ GIMP_RECT_SELECT_MODE_FIXED_SIZE, N_("Fixed size"), "fixed-size" },
|
|
|
|
{ GIMP_RECT_SELECT_MODE_FIXED_RATIO, N_("Fixed aspect ratio"), "fixed-ratio" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-01-06 16:25:04 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
static GType type = 0;
|
2003-01-06 16:25:04 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpRectSelectMode", values);
|
2003-01-06 16:25:04 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
|
|
|
}
|
2003-05-30 23:52:24 +00:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_transform_type_get_type (void)
|
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_TRANSFORM_TYPE_LAYER, N_("Transform layer"), "layer" },
|
|
|
|
{ GIMP_TRANSFORM_TYPE_SELECTION, N_("Transform selection"), "selection" },
|
|
|
|
{ GIMP_TRANSFORM_TYPE_PATH, N_("Transform path"), "path" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-05-30 23:52:24 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
static GType type = 0;
|
2003-05-30 23:52:24 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpTransformType", values);
|
2003-05-30 23:52:24 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
|
|
|
}
|
2003-08-20 22:19:37 +00:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_vector_mode_get_type (void)
|
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_VECTOR_MODE_DESIGN, N_("Design"), "design" },
|
|
|
|
{ GIMP_VECTOR_MODE_EDIT, N_("Edit"), "edit" },
|
|
|
|
{ GIMP_VECTOR_MODE_MOVE, N_("Move"), "move" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-08-20 22:19:37 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
static GType type = 0;
|
2003-08-20 22:19:37 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpVectorMode", values);
|
2003-08-20 22:19:37 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
|
|
|
}
|
2004-07-02 21:56:30 +00:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_transform_preview_type_get_type (void)
|
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_TRANSFORM_PREVIEW_TYPE_OUTLINE, N_("Outline"), "outline" },
|
|
|
|
{ GIMP_TRANSFORM_PREVIEW_TYPE_GRID, N_("Grid"), "grid" },
|
|
|
|
{ GIMP_TRANSFORM_PREVIEW_TYPE_IMAGE, N_("Image"), "image" },
|
|
|
|
{ GIMP_TRANSFORM_PREVIEW_TYPE_IMAGE_GRID, N_("Image + Grid"), "image-grid" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2004-07-02 21:56:30 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
static GType type = 0;
|
2004-07-02 21:56:30 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpTransformPreviewType", values);
|
2004-07-02 21:56:30 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
|
|
|
}
|
2003-02-07 17:12:21 +00:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_transform_grid_type_get_type (void)
|
|
|
|
{
|
2004-07-28 11:50:20 +00:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_TRANSFORM_GRID_TYPE_N_LINES, N_("Number of grid lines"), "n-lines" },
|
|
|
|
{ GIMP_TRANSFORM_GRID_TYPE_SPACING, N_("Grid line spacing"), "spacing" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
2003-02-07 17:12:21 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpTransformGridType", values);
|
2003-02-07 17:12:21 +00:00
|
|
|
|
2004-07-28 11:50:20 +00:00
|
|
|
return type;
|
2003-02-07 17:12:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-03-29 03:50:29 +00:00
|
|
|
/* Generated data ends here */
|
|
|
|
|