2003-09-18 Simon Budig <simon@gimp.org> * app/tools/tools-enums.h: Renamed the modes of the vector tools: - Design (creative stuff: placing of new anchors / moving anchors/segments) - Edit (technical stuff: inserting/deleting anchors/segments) - Move (moving strokes/vectors) Jimmac: These need icons... :-) * app/tools/tools-enums.c: regenerated * app/tools/gimpvectoroptions.c * app/tools/gimpvectortool.c: changed accordingly.
112 lines
2.6 KiB
C
112 lines
2.6 KiB
C
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
#include "config.h"
|
|
#include <glib-object.h>
|
|
#include "core/core-enums.h"
|
|
#include "tools-enums.h"
|
|
#include "gimp-intl.h"
|
|
|
|
/* enumerations from "./tools-enums.h" */
|
|
|
|
static const GEnumValue gimp_crop_type_enum_values[] =
|
|
{
|
|
{ GIMP_CROP, N_("Crop"), "crop" },
|
|
{ GIMP_RESIZE, N_("Resize"), "resize" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_crop_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpCropType", gimp_crop_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_rect_select_mode_enum_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 }
|
|
};
|
|
|
|
GType
|
|
gimp_rect_select_mode_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpRectSelectMode", gimp_rect_select_mode_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_transform_type_enum_values[] =
|
|
{
|
|
{ GIMP_TRANSFORM_TYPE_LAYER, N_("Transform Active Layer"), "layer" },
|
|
{ GIMP_TRANSFORM_TYPE_SELECTION, N_("Transform Selection"), "selection" },
|
|
{ GIMP_TRANSFORM_TYPE_PATH, N_("Transform Active Path"), "path" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_transform_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpTransformType", gimp_transform_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_vector_mode_enum_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 }
|
|
};
|
|
|
|
GType
|
|
gimp_vector_mode_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpVectorMode", gimp_vector_mode_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_transform_grid_type_enum_values[] =
|
|
{
|
|
{ GIMP_TRANSFORM_GRID_TYPE_NONE, N_("Don't Show Grid"), "none" },
|
|
{ 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 }
|
|
};
|
|
|
|
GType
|
|
gimp_transform_grid_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpTransformGridType", gimp_transform_grid_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
/* Generated data ends here */
|
|
|