mirror of https://github.com/GNOME/gimp.git
app: order config-enums.h alphabetically
This commit is contained in:
parent
7d8976ad5b
commit
59488ffa68
|
@ -8,37 +8,6 @@
|
|||
#include"gimp-intl.h"
|
||||
|
||||
/* enumerations from "./config-enums.h" */
|
||||
GType
|
||||
gimp_cursor_mode_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_CURSOR_MODE_TOOL_ICON, "GIMP_CURSOR_MODE_TOOL_ICON", "tool-icon" },
|
||||
{ GIMP_CURSOR_MODE_TOOL_CROSSHAIR, "GIMP_CURSOR_MODE_TOOL_CROSSHAIR", "tool-crosshair" },
|
||||
{ GIMP_CURSOR_MODE_CROSSHAIR, "GIMP_CURSOR_MODE_CROSSHAIR", "crosshair" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_CURSOR_MODE_TOOL_ICON, NC_("cursor-mode", "Tool icon"), NULL },
|
||||
{ GIMP_CURSOR_MODE_TOOL_CROSSHAIR, NC_("cursor-mode", "Tool icon with crosshair"), NULL },
|
||||
{ GIMP_CURSOR_MODE_CROSSHAIR, NC_("cursor-mode", "Crosshair only"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpCursorMode", values);
|
||||
gimp_type_set_translation_context (type, "cursor-mode");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_canvas_padding_mode_get_type (void)
|
||||
{
|
||||
|
@ -72,126 +41,6 @@ gimp_canvas_padding_mode_get_type (void)
|
|||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_space_bar_action_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_SPACE_BAR_ACTION_NONE, "GIMP_SPACE_BAR_ACTION_NONE", "none" },
|
||||
{ GIMP_SPACE_BAR_ACTION_PAN, "GIMP_SPACE_BAR_ACTION_PAN", "pan" },
|
||||
{ GIMP_SPACE_BAR_ACTION_MOVE, "GIMP_SPACE_BAR_ACTION_MOVE", "move" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_SPACE_BAR_ACTION_NONE, NC_("space-bar-action", "No action"), NULL },
|
||||
{ GIMP_SPACE_BAR_ACTION_PAN, NC_("space-bar-action", "Pan view"), NULL },
|
||||
{ GIMP_SPACE_BAR_ACTION_MOVE, NC_("space-bar-action", "Switch to Move tool"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpSpaceBarAction", values);
|
||||
gimp_type_set_translation_context (type, "space-bar-action");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_zoom_quality_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_ZOOM_QUALITY_LOW, "GIMP_ZOOM_QUALITY_LOW", "low" },
|
||||
{ GIMP_ZOOM_QUALITY_HIGH, "GIMP_ZOOM_QUALITY_HIGH", "high" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_ZOOM_QUALITY_LOW, NC_("zoom-quality", "Low"), NULL },
|
||||
{ GIMP_ZOOM_QUALITY_HIGH, NC_("zoom-quality", "High"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpZoomQuality", values);
|
||||
gimp_type_set_translation_context (type, "zoom-quality");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_help_browser_type_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_HELP_BROWSER_GIMP, "GIMP_HELP_BROWSER_GIMP", "gimp" },
|
||||
{ GIMP_HELP_BROWSER_WEB_BROWSER, "GIMP_HELP_BROWSER_WEB_BROWSER", "web-browser" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_HELP_BROWSER_GIMP, NC_("help-browser-type", "GIMP help browser"), NULL },
|
||||
{ GIMP_HELP_BROWSER_WEB_BROWSER, NC_("help-browser-type", "Web browser"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpHelpBrowserType", values);
|
||||
gimp_type_set_translation_context (type, "help-browser-type");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_window_hint_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_WINDOW_HINT_NORMAL, "GIMP_WINDOW_HINT_NORMAL", "normal" },
|
||||
{ GIMP_WINDOW_HINT_UTILITY, "GIMP_WINDOW_HINT_UTILITY", "utility" },
|
||||
{ GIMP_WINDOW_HINT_KEEP_ABOVE, "GIMP_WINDOW_HINT_KEEP_ABOVE", "keep-above" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_WINDOW_HINT_NORMAL, NC_("window-hint", "Normal window"), NULL },
|
||||
{ GIMP_WINDOW_HINT_UTILITY, NC_("window-hint", "Utility window"), NULL },
|
||||
{ GIMP_WINDOW_HINT_KEEP_ABOVE, NC_("window-hint", "Keep above"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpWindowHint", values);
|
||||
gimp_type_set_translation_context (type, "window-hint");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_cursor_format_get_type (void)
|
||||
{
|
||||
|
@ -221,6 +70,37 @@ gimp_cursor_format_get_type (void)
|
|||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_cursor_mode_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_CURSOR_MODE_TOOL_ICON, "GIMP_CURSOR_MODE_TOOL_ICON", "tool-icon" },
|
||||
{ GIMP_CURSOR_MODE_TOOL_CROSSHAIR, "GIMP_CURSOR_MODE_TOOL_CROSSHAIR", "tool-crosshair" },
|
||||
{ GIMP_CURSOR_MODE_CROSSHAIR, "GIMP_CURSOR_MODE_CROSSHAIR", "crosshair" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_CURSOR_MODE_TOOL_ICON, NC_("cursor-mode", "Tool icon"), NULL },
|
||||
{ GIMP_CURSOR_MODE_TOOL_CROSSHAIR, NC_("cursor-mode", "Tool icon with crosshair"), NULL },
|
||||
{ GIMP_CURSOR_MODE_CROSSHAIR, NC_("cursor-mode", "Crosshair only"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpCursorMode", values);
|
||||
gimp_type_set_translation_context (type, "cursor-mode");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_handedness_get_type (void)
|
||||
{
|
||||
|
@ -250,6 +130,70 @@ gimp_handedness_get_type (void)
|
|||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_help_browser_type_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_HELP_BROWSER_GIMP, "GIMP_HELP_BROWSER_GIMP", "gimp" },
|
||||
{ GIMP_HELP_BROWSER_WEB_BROWSER, "GIMP_HELP_BROWSER_WEB_BROWSER", "web-browser" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_HELP_BROWSER_GIMP, NC_("help-browser-type", "GIMP help browser"), NULL },
|
||||
{ GIMP_HELP_BROWSER_WEB_BROWSER, NC_("help-browser-type", "Web browser"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpHelpBrowserType", values);
|
||||
gimp_type_set_translation_context (type, "help-browser-type");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_icon_size_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_ICON_SIZE_DEFAULT, "GIMP_ICON_SIZE_DEFAULT", "default" },
|
||||
{ GIMP_ICON_SIZE_SMALL, "GIMP_ICON_SIZE_SMALL", "small" },
|
||||
{ GIMP_ICON_SIZE_MEDIUM, "GIMP_ICON_SIZE_MEDIUM", "medium" },
|
||||
{ GIMP_ICON_SIZE_LARGE, "GIMP_ICON_SIZE_LARGE", "large" },
|
||||
{ GIMP_ICON_SIZE_HUGE, "GIMP_ICON_SIZE_HUGE", "huge" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_ICON_SIZE_DEFAULT, NC_("icon-size", "Default size"), NULL },
|
||||
{ GIMP_ICON_SIZE_SMALL, NC_("icon-size", "Small size"), NULL },
|
||||
{ GIMP_ICON_SIZE_MEDIUM, NC_("icon-size", "Medium size"), NULL },
|
||||
{ GIMP_ICON_SIZE_LARGE, NC_("icon-size", "Large size"), NULL },
|
||||
{ GIMP_ICON_SIZE_HUGE, NC_("icon-size", "Huge size"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpIconSize", values);
|
||||
gimp_type_set_translation_context (type, "icon-size");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_position_get_type (void)
|
||||
{
|
||||
|
@ -283,6 +227,97 @@ gimp_position_get_type (void)
|
|||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_space_bar_action_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_SPACE_BAR_ACTION_NONE, "GIMP_SPACE_BAR_ACTION_NONE", "none" },
|
||||
{ GIMP_SPACE_BAR_ACTION_PAN, "GIMP_SPACE_BAR_ACTION_PAN", "pan" },
|
||||
{ GIMP_SPACE_BAR_ACTION_MOVE, "GIMP_SPACE_BAR_ACTION_MOVE", "move" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_SPACE_BAR_ACTION_NONE, NC_("space-bar-action", "No action"), NULL },
|
||||
{ GIMP_SPACE_BAR_ACTION_PAN, NC_("space-bar-action", "Pan view"), NULL },
|
||||
{ GIMP_SPACE_BAR_ACTION_MOVE, NC_("space-bar-action", "Switch to Move tool"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpSpaceBarAction", values);
|
||||
gimp_type_set_translation_context (type, "space-bar-action");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_window_hint_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_WINDOW_HINT_NORMAL, "GIMP_WINDOW_HINT_NORMAL", "normal" },
|
||||
{ GIMP_WINDOW_HINT_UTILITY, "GIMP_WINDOW_HINT_UTILITY", "utility" },
|
||||
{ GIMP_WINDOW_HINT_KEEP_ABOVE, "GIMP_WINDOW_HINT_KEEP_ABOVE", "keep-above" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_WINDOW_HINT_NORMAL, NC_("window-hint", "Normal window"), NULL },
|
||||
{ GIMP_WINDOW_HINT_UTILITY, NC_("window-hint", "Utility window"), NULL },
|
||||
{ GIMP_WINDOW_HINT_KEEP_ABOVE, NC_("window-hint", "Keep above"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpWindowHint", values);
|
||||
gimp_type_set_translation_context (type, "window-hint");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
GType
|
||||
gimp_zoom_quality_get_type (void)
|
||||
{
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
{ GIMP_ZOOM_QUALITY_LOW, "GIMP_ZOOM_QUALITY_LOW", "low" },
|
||||
{ GIMP_ZOOM_QUALITY_HIGH, "GIMP_ZOOM_QUALITY_HIGH", "high" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_ZOOM_QUALITY_LOW, NC_("zoom-quality", "Low"), NULL },
|
||||
{ GIMP_ZOOM_QUALITY_HIGH, NC_("zoom-quality", "High"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static GType type = 0;
|
||||
|
||||
if (G_UNLIKELY (! type))
|
||||
{
|
||||
type = g_enum_register_static ("GimpZoomQuality", values);
|
||||
gimp_type_set_translation_context (type, "zoom-quality");
|
||||
gimp_enum_set_value_descriptions (type, descs);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
/* Generated data ends here */
|
||||
|
||||
|
|
|
@ -19,18 +19,6 @@
|
|||
#define __CONFIG_ENUMS_H__
|
||||
|
||||
|
||||
#define GIMP_TYPE_CURSOR_MODE (gimp_cursor_mode_get_type ())
|
||||
|
||||
GType gimp_cursor_mode_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_CURSOR_MODE_TOOL_ICON, /*< desc="Tool icon" >*/
|
||||
GIMP_CURSOR_MODE_TOOL_CROSSHAIR, /*< desc="Tool icon with crosshair" >*/
|
||||
GIMP_CURSOR_MODE_CROSSHAIR /*< desc="Crosshair only" >*/
|
||||
} GimpCursorMode;
|
||||
|
||||
|
||||
#define GIMP_TYPE_CANVAS_PADDING_MODE (gimp_canvas_padding_mode_get_type ())
|
||||
|
||||
GType gimp_canvas_padding_mode_get_type (void) G_GNUC_CONST;
|
||||
|
@ -45,52 +33,6 @@ typedef enum
|
|||
} GimpCanvasPaddingMode;
|
||||
|
||||
|
||||
#define GIMP_TYPE_SPACE_BAR_ACTION (gimp_space_bar_action_get_type ())
|
||||
|
||||
GType gimp_space_bar_action_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_SPACE_BAR_ACTION_NONE, /*< desc="No action" >*/
|
||||
GIMP_SPACE_BAR_ACTION_PAN, /*< desc="Pan view" >*/
|
||||
GIMP_SPACE_BAR_ACTION_MOVE /*< desc="Switch to Move tool" >*/
|
||||
} GimpSpaceBarAction;
|
||||
|
||||
|
||||
#define GIMP_TYPE_ZOOM_QUALITY (gimp_zoom_quality_get_type ())
|
||||
|
||||
GType gimp_zoom_quality_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_ZOOM_QUALITY_LOW, /*< desc="Low" >*/
|
||||
GIMP_ZOOM_QUALITY_HIGH /*< desc="High" >*/
|
||||
} GimpZoomQuality;
|
||||
|
||||
|
||||
#define GIMP_TYPE_HELP_BROWSER_TYPE (gimp_help_browser_type_get_type ())
|
||||
|
||||
GType gimp_help_browser_type_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_HELP_BROWSER_GIMP, /*< desc="GIMP help browser" >*/
|
||||
GIMP_HELP_BROWSER_WEB_BROWSER /*< desc="Web browser" >*/
|
||||
} GimpHelpBrowserType;
|
||||
|
||||
|
||||
#define GIMP_TYPE_WINDOW_HINT (gimp_window_hint_get_type ())
|
||||
|
||||
GType gimp_window_hint_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_WINDOW_HINT_NORMAL, /*< desc="Normal window" >*/
|
||||
GIMP_WINDOW_HINT_UTILITY, /*< desc="Utility window" >*/
|
||||
GIMP_WINDOW_HINT_KEEP_ABOVE /*< desc="Keep above" >*/
|
||||
} GimpWindowHint;
|
||||
|
||||
|
||||
#define GIMP_TYPE_CURSOR_FORMAT (gimp_cursor_format_get_type ())
|
||||
|
||||
GType gimp_cursor_format_get_type (void) G_GNUC_CONST;
|
||||
|
@ -102,6 +44,18 @@ typedef enum
|
|||
} GimpCursorFormat;
|
||||
|
||||
|
||||
#define GIMP_TYPE_CURSOR_MODE (gimp_cursor_mode_get_type ())
|
||||
|
||||
GType gimp_cursor_mode_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_CURSOR_MODE_TOOL_ICON, /*< desc="Tool icon" >*/
|
||||
GIMP_CURSOR_MODE_TOOL_CROSSHAIR, /*< desc="Tool icon with crosshair" >*/
|
||||
GIMP_CURSOR_MODE_CROSSHAIR /*< desc="Crosshair only" >*/
|
||||
} GimpCursorMode;
|
||||
|
||||
|
||||
#define GIMP_TYPE_HANDEDNESS (gimp_handedness_get_type ())
|
||||
|
||||
GType gimp_handedness_get_type (void) G_GNUC_CONST;
|
||||
|
@ -112,17 +66,17 @@ typedef enum
|
|||
GIMP_HANDEDNESS_RIGHT /*< desc="Right-handed" >*/
|
||||
} GimpHandedness;
|
||||
|
||||
#define GIMP_TYPE_POSITION (gimp_position_get_type ())
|
||||
|
||||
GType gimp_position_get_type (void) G_GNUC_CONST;
|
||||
#define GIMP_TYPE_HELP_BROWSER_TYPE (gimp_help_browser_type_get_type ())
|
||||
|
||||
GType gimp_help_browser_type_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_POSITION_TOP, /*< desc="Top" >*/
|
||||
GIMP_POSITION_BOTTOM, /*< desc="Bottom" >*/
|
||||
GIMP_POSITION_LEFT, /*< desc="Left" >*/
|
||||
GIMP_POSITION_RIGHT /*< desc="Right" >*/
|
||||
} GimpPosition;
|
||||
GIMP_HELP_BROWSER_GIMP, /*< desc="GIMP help browser" >*/
|
||||
GIMP_HELP_BROWSER_WEB_BROWSER /*< desc="Web browser" >*/
|
||||
} GimpHelpBrowserType;
|
||||
|
||||
|
||||
#define GIMP_TYPE_ICON_SIZE (gimp_icon_size_get_type ())
|
||||
|
||||
|
@ -137,4 +91,53 @@ typedef enum
|
|||
GIMP_ICON_SIZE_HUGE /*< desc="Huge size" > */
|
||||
} GimpIconSize;
|
||||
|
||||
|
||||
#define GIMP_TYPE_POSITION (gimp_position_get_type ())
|
||||
|
||||
GType gimp_position_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_POSITION_TOP, /*< desc="Top" >*/
|
||||
GIMP_POSITION_BOTTOM, /*< desc="Bottom" >*/
|
||||
GIMP_POSITION_LEFT, /*< desc="Left" >*/
|
||||
GIMP_POSITION_RIGHT /*< desc="Right" >*/
|
||||
} GimpPosition;
|
||||
|
||||
|
||||
#define GIMP_TYPE_SPACE_BAR_ACTION (gimp_space_bar_action_get_type ())
|
||||
|
||||
GType gimp_space_bar_action_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_SPACE_BAR_ACTION_NONE, /*< desc="No action" >*/
|
||||
GIMP_SPACE_BAR_ACTION_PAN, /*< desc="Pan view" >*/
|
||||
GIMP_SPACE_BAR_ACTION_MOVE /*< desc="Switch to Move tool" >*/
|
||||
} GimpSpaceBarAction;
|
||||
|
||||
|
||||
#define GIMP_TYPE_WINDOW_HINT (gimp_window_hint_get_type ())
|
||||
|
||||
GType gimp_window_hint_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_WINDOW_HINT_NORMAL, /*< desc="Normal window" >*/
|
||||
GIMP_WINDOW_HINT_UTILITY, /*< desc="Utility window" >*/
|
||||
GIMP_WINDOW_HINT_KEEP_ABOVE /*< desc="Keep above" >*/
|
||||
} GimpWindowHint;
|
||||
|
||||
|
||||
#define GIMP_TYPE_ZOOM_QUALITY (gimp_zoom_quality_get_type ())
|
||||
|
||||
GType gimp_zoom_quality_get_type (void) G_GNUC_CONST;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GIMP_ZOOM_QUALITY_LOW, /*< desc="Low" >*/
|
||||
GIMP_ZOOM_QUALITY_HIGH /*< desc="High" >*/
|
||||
} GimpZoomQuality;
|
||||
|
||||
|
||||
#endif /* __CONFIG_ENUMS_H__ */
|
||||
|
|
Loading…
Reference in New Issue