mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
7aaa80ef06
2002-03-17 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpwidgets.[ch]: new function to set the sensitivity of an option_menu. * app/base/base-enums.[ch]: register and describe GimpHistogramChannel. * app/core/Makefile.am * app/core/core-enums.[ch]: build with gimp-mkenums, added core-enums.c to CVS, added descriptions for GimpPreviewSize. * app/display/Makefile.am * app/display/display-enums.[ch]: build with gimp-mkenums, added display-enums.c to CVS, added descriptions for GimpCursorMode. * app/gui/preferences-dialog.c: more GimpEnumMenus. * app/tools/gimpcurvestool.c * app/tools/gimphistogramtool.c * app/tools/gimplevelstool.c: use a GimpEnumMenu for the Channel menu. Allow alpha channel in HistogramView. These tools needs more work...
33 lines
729 B
C
33 lines
729 B
C
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
#include "config.h"
|
|
#include <glib-object.h>
|
|
#include "display-enums.h"
|
|
#include"libgimp/gimpintl.h"
|
|
|
|
/* enumerations from "./display-enums.h" */
|
|
|
|
static const GEnumValue gimp_cursor_mode_enum_values[] =
|
|
{
|
|
{ GIMP_CURSOR_MODE_TOOL_ICON, N_("Tool Icon"), "tool-icon" },
|
|
{ GIMP_CURSOR_MODE_TOOL_CROSSHAIR, N_("Tool Icon with Crosshair"), "tool-crosshair" },
|
|
{ GIMP_CURSOR_MODE_CROSSHAIR, N_("Crosshair only"), "crosshair" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_cursor_mode_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpCursorMode", gimp_cursor_mode_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
/* Generated data ends here */
|
|
|