mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
e3480536f3
2003-10-22 Sven Neumann <sven@gimp.org> * app/display/Makefile.am * app/display/gimpdisplayoptions.[ch]: new files that implement a GimpConfig object with GimpDisplayShell and GimpCanvas options. Actually two classes, one for the normal view, a derived one with different default values for fullscreen mode. * app/display/display-enums.[ch]: renamed GimpDisplayPadding enum to GimpCanvasPadding. * app/config/config-types.h: added the GimpDisplayOptions typedef. * app/config/gimprc-blurbs.h * app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties with two instances of GimpDisplayOptions. * app/display/gimpdisplayshell.[ch]: replaced the GimpDisplayShellAppearance struct with GimpDisplayOptions. * app/display/gimpdisplayshell-appearance.[ch] * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-handlers.[ch] * app/gui/image-menu.c: changed accordingly. * app/gui/preferences-dialog.c: added a convenience function that creates a view on a GimpDisplayOptions object. Not all values are configurable here yet. * docs/gimprc-1.3.5.in * etc/gimprc: regenerated to document the gimprc format changes.
54 lines
1.3 KiB
C
54 lines
1.3 KiB
C
|
|
/* Generated data (by gimp-mkenums) */
|
|
|
|
#include "config.h"
|
|
#include <glib-object.h>
|
|
#include "display-enums.h"
|
|
#include"gimp-intl.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;
|
|
}
|
|
|
|
|
|
static const GEnumValue gimp_canvas_padding_mode_enum_values[] =
|
|
{
|
|
{ GIMP_CANVAS_PADDING_MODE_DEFAULT, N_("From Theme"), "default" },
|
|
{ GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, N_("Light Check Color"), "light-check" },
|
|
{ GIMP_CANVAS_PADDING_MODE_DARK_CHECK, N_("Dark Check Color"), "dark-check" },
|
|
{ GIMP_CANVAS_PADDING_MODE_CUSTOM, N_("Custom Color"), "custom" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
|
|
GType
|
|
gimp_canvas_padding_mode_get_type (void)
|
|
{
|
|
static GType enum_type = 0;
|
|
|
|
if (!enum_type)
|
|
enum_type = g_enum_register_static ("GimpCanvasPaddingMode", gimp_canvas_padding_mode_enum_values);
|
|
|
|
return enum_type;
|
|
}
|
|
|
|
|
|
/* Generated data ends here */
|
|
|