mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
e78c87b228
2003-10-15 Michael Natterer <mitch@gimp.org> * app/widgets/widgets-enums.[ch]: new enum GimpColorFrameMode. * app/widgets/Makefile.am * app/widgets/gimpcolorframe.[ch]: new widget GimpColorFrame which shows a picked color in an optionmenu-selectable color space. Helps getting rid in InfoDialog. * app/gui/info-window.c: use it for the "extended" page. Cleaned up that page a lot so it can be made dockable in the next step. * app/tools/gimpcolorpickertool.[ch]: use it here too. Don't use InfoDialog any more (and do not depend on gui/ any more).
155 lines
3.5 KiB
C
155 lines
3.5 KiB
C
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
#include "config.h"
|
|
#include <gtk/gtk.h>
|
|
#include "widgets-enums.h"
|
|
#include "gimp-intl.h"
|
|
|
|
/* enumerations from "./widgets-enums.h" */
|
|
|
|
static const GEnumValue gimp_aspect_type_enum_values[] =
|
|
{
|
|
{ GIMP_ASPECT_SQUARE, "GIMP_ASPECT_SQUARE", "square" },
|
|
{ GIMP_ASPECT_PORTRAIT, N_("Portrait"), "portrait" },
|
|
{ GIMP_ASPECT_LANDSCAPE, N_("Landscape"), "landscape" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_aspect_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpAspectType", gimp_aspect_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_color_frame_mode_enum_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 }
|
|
};
|
|
|
|
GType
|
|
gimp_color_frame_mode_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpColorFrameMode", gimp_color_frame_mode_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_help_browser_type_enum_values[] =
|
|
{
|
|
{ GIMP_HELP_BROWSER_GIMP, N_("Internal"), "gimp" },
|
|
{ GIMP_HELP_BROWSER_WEBBROWSER, N_("Web Browser"), "webbrowser" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_help_browser_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpHelpBrowserType", gimp_help_browser_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_histogram_scale_enum_values[] =
|
|
{
|
|
{ GIMP_HISTOGRAM_SCALE_LINEAR, N_("Linear"), "linear" },
|
|
{ GIMP_HISTOGRAM_SCALE_LOGARITHMIC, N_("Logarithmic"), "logarithmic" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_histogram_scale_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpHistogramScale", gimp_histogram_scale_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_tab_style_enum_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 }
|
|
};
|
|
|
|
GType
|
|
gimp_tab_style_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpTabStyle", gimp_tab_style_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_view_type_enum_values[] =
|
|
{
|
|
{ GIMP_VIEW_TYPE_LIST, N_("View as List"), "list" },
|
|
{ GIMP_VIEW_TYPE_GRID, N_("View as Grid"), "grid" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_view_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpViewType", gimp_view_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_zoom_type_enum_values[] =
|
|
{
|
|
{ GIMP_ZOOM_IN, N_("Zoom in"), "in" },
|
|
{ GIMP_ZOOM_OUT, N_("Zoom out"), "out" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_zoom_type_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpZoomType", gimp_zoom_type_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
/* Generated data ends here */
|
|
|