2002-03-19 06:26:41 +08:00
|
|
|
|
|
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include "widgets-enums.h"
|
2003-03-26 00:38:19 +08:00
|
|
|
#include "gimp-intl.h"
|
2002-03-19 06:26:41 +08:00
|
|
|
|
|
|
|
/* enumerations from "./widgets-enums.h" */
|
2004-05-27 20:41:22 +08:00
|
|
|
GType
|
|
|
|
gimp_active_color_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_ACTIVE_COLOR_FOREGROUND, N_("Foreground"), "foreground" },
|
|
|
|
{ GIMP_ACTIVE_COLOR_BACKGROUND, N_("Background"), "background" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2004-05-27 20:41:22 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2004-05-27 20:41:22 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpActiveColor", values);
|
2004-05-27 20:41:22 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2002-05-06 03:17:41 +08:00
|
|
|
|
|
|
|
GType
|
2003-04-10 19:05:17 +08:00
|
|
|
gimp_aspect_type_get_type (void)
|
2002-05-06 03:17:41 +08:00
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_ASPECT_SQUARE, "GIMP_ASPECT_SQUARE", "square" },
|
|
|
|
{ GIMP_ASPECT_PORTRAIT, N_("Portrait"), "portrait" },
|
|
|
|
{ GIMP_ASPECT_LANDSCAPE, N_("Landscape"), "landscape" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2002-05-06 03:17:41 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2002-05-06 03:17:41 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpAspectType", values);
|
2002-05-06 03:17:41 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-10-15 23:16:50 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_color_frame_mode_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_COLOR_FRAME_MODE_PIXEL, N_("Pixel values"), "pixel" },
|
|
|
|
{ GIMP_COLOR_FRAME_MODE_RGB, N_("RGB"), "rgb" },
|
|
|
|
{ GIMP_COLOR_FRAME_MODE_HSV, N_("HSV"), "hsv" },
|
|
|
|
{ GIMP_COLOR_FRAME_MODE_CMYK, N_("CMYK"), "cmyk" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-10-15 23:16:50 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2003-10-15 23:16:50 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpColorFrameMode", values);
|
2003-10-15 23:16:50 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2004-06-30 20:10:08 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_color_pick_state_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_COLOR_PICK_STATE_NEW, "GIMP_COLOR_PICK_STATE_NEW", "new" },
|
|
|
|
{ GIMP_COLOR_PICK_STATE_UPDATE, "GIMP_COLOR_PICK_STATE_UPDATE", "update" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2004-06-30 20:10:08 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2004-06-30 20:10:08 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpColorPickState", values);
|
2004-06-30 20:10:08 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2004-06-13 10:08:54 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_cursor_format_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_CURSOR_FORMAT_BITMAP, N_("Black & white"), "bitmap" },
|
|
|
|
{ GIMP_CURSOR_FORMAT_PIXBUF, N_("Fancy"), "pixbuf" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2004-06-13 10:08:54 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2004-06-13 10:08:54 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpCursorFormat", values);
|
2004-06-13 10:08:54 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2002-03-19 06:26:41 +08:00
|
|
|
|
|
|
|
GType
|
2003-04-10 19:05:17 +08:00
|
|
|
gimp_help_browser_type_get_type (void)
|
2002-03-19 06:26:41 +08:00
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_HELP_BROWSER_GIMP, N_("Internal"), "gimp" },
|
|
|
|
{ GIMP_HELP_BROWSER_WEB_BROWSER, N_("Web browser"), "web-browser" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2002-03-19 06:26:41 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2002-03-19 06:26:41 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpHelpBrowserType", values);
|
2002-03-19 06:26:41 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-01-26 02:58:45 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_histogram_scale_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_HISTOGRAM_SCALE_LINEAR, N_("Linear"), "linear" },
|
|
|
|
{ GIMP_HISTOGRAM_SCALE_LOGARITHMIC, N_("Logarithmic"), "logarithmic" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-01-26 02:58:45 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2003-01-26 02:58:45 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpHistogramScale", values);
|
2003-01-26 02:58:45 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-07-08 23:07:56 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_tab_style_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_TAB_STYLE_ICON, N_("Icon"), "icon" },
|
|
|
|
{ GIMP_TAB_STYLE_PREVIEW, N_("Current status"), "preview" },
|
|
|
|
{ GIMP_TAB_STYLE_NAME, N_("Text"), "name" },
|
|
|
|
{ GIMP_TAB_STYLE_BLURB, N_("Description"), "blurb" },
|
|
|
|
{ GIMP_TAB_STYLE_ICON_NAME, N_("Icon & text"), "icon-name" },
|
|
|
|
{ GIMP_TAB_STYLE_ICON_BLURB, N_("Icon & desc"), "icon-blurb" },
|
|
|
|
{ GIMP_TAB_STYLE_PREVIEW_NAME, N_("Status & text"), "preview-name" },
|
|
|
|
{ GIMP_TAB_STYLE_PREVIEW_BLURB, N_("Status & desc"), "preview-blurb" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
|
|
|
|
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpTabStyle", values);
|
|
|
|
|
|
|
|
return type;
|
2003-07-08 23:07:56 +08:00
|
|
|
}
|
|
|
|
|
2003-03-31 20:09:09 +08:00
|
|
|
GType
|
|
|
|
gimp_view_type_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_VIEW_TYPE_LIST, N_("View as list"), "list" },
|
|
|
|
{ GIMP_VIEW_TYPE_GRID, N_("View as grid"), "grid" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-03-31 20:09:09 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2003-03-31 20:09:09 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpViewType", values);
|
2003-03-31 20:09:09 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-11-21 04:36:55 +08:00
|
|
|
|
|
|
|
GType
|
2004-01-17 07:18:23 +08:00
|
|
|
gimp_window_hint_get_type (void)
|
2003-11-21 04:36:55 +08:00
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_WINDOW_HINT_NORMAL, N_("Normal window"), "normal" },
|
|
|
|
{ GIMP_WINDOW_HINT_UTILITY, N_("Utility window"), "utility" },
|
|
|
|
{ GIMP_WINDOW_HINT_KEEP_ABOVE, N_("Keep above"), "keep-above" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
2003-11-21 04:36:55 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
static GType type = 0;
|
2003-11-21 04:36:55 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpWindowHint", values);
|
2003-11-21 04:36:55 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
|
|
|
}
|
2003-04-10 19:05:17 +08:00
|
|
|
|
|
|
|
GType
|
|
|
|
gimp_zoom_type_get_type (void)
|
|
|
|
{
|
2004-07-28 19:50:20 +08:00
|
|
|
static const GEnumValue values[] =
|
|
|
|
{
|
|
|
|
{ GIMP_ZOOM_IN, N_("Zoom in"), "in" },
|
|
|
|
{ GIMP_ZOOM_OUT, N_("Zoom out"), "out" },
|
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static GType type = 0;
|
2003-04-10 19:05:17 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
if (! type)
|
|
|
|
type = g_enum_register_static ("GimpZoomType", values);
|
2003-04-10 19:05:17 +08:00
|
|
|
|
2004-07-28 19:50:20 +08:00
|
|
|
return type;
|
2003-04-10 19:05:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-03-19 06:26:41 +08:00
|
|
|
/* Generated data ends here */
|
|
|
|
|