[gimp] app: order config-enums.h alphabetically



commit 59488ffa68b33b6acbd8126786e7ccd99a8c8ed4
Author: Michael Natterer <mitch gimp org>
Date:   Sat Mar 11 16:47:24 2017 +0100

    app: order config-enums.h alphabetically

 app/config/config-enums.c |  175 +++++++++++++++++++++++++++------------------
 app/config/config-enums.h |  111 +++++++++++++++--------------
 2 files changed, 162 insertions(+), 124 deletions(-)
---
diff --git a/app/config/config-enums.c b/app/config/config-enums.c
index ec3df01..0cdbaa6 100644
--- a/app/config/config-enums.c
+++ b/app/config/config-enums.c
@@ -9,21 +9,23 @@
 
 /* enumerations from "./config-enums.h" */
 GType
-gimp_cursor_mode_get_type (void)
+gimp_canvas_padding_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" },
+    { GIMP_CANVAS_PADDING_MODE_DEFAULT, "GIMP_CANVAS_PADDING_MODE_DEFAULT", "default" },
+    { GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, "GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK", "light-check" },
+    { GIMP_CANVAS_PADDING_MODE_DARK_CHECK, "GIMP_CANVAS_PADDING_MODE_DARK_CHECK", "dark-check" },
+    { GIMP_CANVAS_PADDING_MODE_CUSTOM, "GIMP_CANVAS_PADDING_MODE_CUSTOM", "custom" },
     { 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 },
+    { GIMP_CANVAS_PADDING_MODE_DEFAULT, NC_("canvas-padding-mode", "From theme"), NULL },
+    { GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, NC_("canvas-padding-mode", "Light check color"), NULL },
+    { GIMP_CANVAS_PADDING_MODE_DARK_CHECK, NC_("canvas-padding-mode", "Dark check color"), NULL },
+    { GIMP_CANVAS_PADDING_MODE_CUSTOM, NC_("canvas-padding-mode", "Custom color"), NULL },
     { 0, NULL, NULL }
   };
 
@@ -31,8 +33,8 @@ gimp_cursor_mode_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpCursorMode", values);
-      gimp_type_set_translation_context (type, "cursor-mode");
+      type = g_enum_register_static ("GimpCanvasPaddingMode", values);
+      gimp_type_set_translation_context (type, "canvas-padding-mode");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -40,23 +42,19 @@ gimp_cursor_mode_get_type (void)
 }
 
 GType
-gimp_canvas_padding_mode_get_type (void)
+gimp_cursor_format_get_type (void)
 {
   static const GEnumValue values[] =
   {
-    { GIMP_CANVAS_PADDING_MODE_DEFAULT, "GIMP_CANVAS_PADDING_MODE_DEFAULT", "default" },
-    { GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, "GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK", "light-check" },
-    { GIMP_CANVAS_PADDING_MODE_DARK_CHECK, "GIMP_CANVAS_PADDING_MODE_DARK_CHECK", "dark-check" },
-    { GIMP_CANVAS_PADDING_MODE_CUSTOM, "GIMP_CANVAS_PADDING_MODE_CUSTOM", "custom" },
+    { GIMP_CURSOR_FORMAT_BITMAP, "GIMP_CURSOR_FORMAT_BITMAP", "bitmap" },
+    { GIMP_CURSOR_FORMAT_PIXBUF, "GIMP_CURSOR_FORMAT_PIXBUF", "pixbuf" },
     { 0, NULL, NULL }
   };
 
   static const GimpEnumDesc descs[] =
   {
-    { GIMP_CANVAS_PADDING_MODE_DEFAULT, NC_("canvas-padding-mode", "From theme"), NULL },
-    { GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, NC_("canvas-padding-mode", "Light check color"), NULL },
-    { GIMP_CANVAS_PADDING_MODE_DARK_CHECK, NC_("canvas-padding-mode", "Dark check color"), NULL },
-    { GIMP_CANVAS_PADDING_MODE_CUSTOM, NC_("canvas-padding-mode", "Custom color"), NULL },
+    { GIMP_CURSOR_FORMAT_BITMAP, NC_("cursor-format", "Black & white"), NULL },
+    { GIMP_CURSOR_FORMAT_PIXBUF, NC_("cursor-format", "Fancy"), NULL },
     { 0, NULL, NULL }
   };
 
@@ -64,8 +62,8 @@ gimp_canvas_padding_mode_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpCanvasPaddingMode", values);
-      gimp_type_set_translation_context (type, "canvas-padding-mode");
+      type = g_enum_register_static ("GimpCursorFormat", values);
+      gimp_type_set_translation_context (type, "cursor-format");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -73,21 +71,21 @@ gimp_canvas_padding_mode_get_type (void)
 }
 
 GType
-gimp_space_bar_action_get_type (void)
+gimp_cursor_mode_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" },
+    { 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_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 },
+    { 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 }
   };
 
@@ -95,8 +93,8 @@ gimp_space_bar_action_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpSpaceBarAction", values);
-      gimp_type_set_translation_context (type, "space-bar-action");
+      type = g_enum_register_static ("GimpCursorMode", values);
+      gimp_type_set_translation_context (type, "cursor-mode");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -104,19 +102,19 @@ gimp_space_bar_action_get_type (void)
 }
 
 GType
-gimp_zoom_quality_get_type (void)
+gimp_handedness_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" },
+    { GIMP_HANDEDNESS_LEFT, "GIMP_HANDEDNESS_LEFT", "left" },
+    { GIMP_HANDEDNESS_RIGHT, "GIMP_HANDEDNESS_RIGHT", "right" },
     { 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 },
+    { GIMP_HANDEDNESS_LEFT, NC_("handedness", "Left-handed"), NULL },
+    { GIMP_HANDEDNESS_RIGHT, NC_("handedness", "Right-handed"), NULL },
     { 0, NULL, NULL }
   };
 
@@ -124,8 +122,8 @@ gimp_zoom_quality_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpZoomQuality", values);
-      gimp_type_set_translation_context (type, "zoom-quality");
+      type = g_enum_register_static ("GimpHandedness", values);
+      gimp_type_set_translation_context (type, "handedness");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -162,21 +160,25 @@ gimp_help_browser_type_get_type (void)
 }
 
 GType
-gimp_window_hint_get_type (void)
+gimp_icon_size_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" },
+    { 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_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 },
+    { 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 }
   };
 
@@ -184,8 +186,8 @@ gimp_window_hint_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpWindowHint", values);
-      gimp_type_set_translation_context (type, "window-hint");
+      type = g_enum_register_static ("GimpIconSize", values);
+      gimp_type_set_translation_context (type, "icon-size");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -193,19 +195,23 @@ gimp_window_hint_get_type (void)
 }
 
 GType
-gimp_cursor_format_get_type (void)
+gimp_position_get_type (void)
 {
   static const GEnumValue values[] =
   {
-    { GIMP_CURSOR_FORMAT_BITMAP, "GIMP_CURSOR_FORMAT_BITMAP", "bitmap" },
-    { GIMP_CURSOR_FORMAT_PIXBUF, "GIMP_CURSOR_FORMAT_PIXBUF", "pixbuf" },
+    { GIMP_POSITION_TOP, "GIMP_POSITION_TOP", "top" },
+    { GIMP_POSITION_BOTTOM, "GIMP_POSITION_BOTTOM", "bottom" },
+    { GIMP_POSITION_LEFT, "GIMP_POSITION_LEFT", "left" },
+    { GIMP_POSITION_RIGHT, "GIMP_POSITION_RIGHT", "right" },
     { 0, NULL, NULL }
   };
 
   static const GimpEnumDesc descs[] =
   {
-    { GIMP_CURSOR_FORMAT_BITMAP, NC_("cursor-format", "Black & white"), NULL },
-    { GIMP_CURSOR_FORMAT_PIXBUF, NC_("cursor-format", "Fancy"), NULL },
+    { GIMP_POSITION_TOP, NC_("position", "Top"), NULL },
+    { GIMP_POSITION_BOTTOM, NC_("position", "Bottom"), NULL },
+    { GIMP_POSITION_LEFT, NC_("position", "Left"), NULL },
+    { GIMP_POSITION_RIGHT, NC_("position", "Right"), NULL },
     { 0, NULL, NULL }
   };
 
@@ -213,8 +219,8 @@ gimp_cursor_format_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpCursorFormat", values);
-      gimp_type_set_translation_context (type, "cursor-format");
+      type = g_enum_register_static ("GimpPosition", values);
+      gimp_type_set_translation_context (type, "position");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -222,19 +228,21 @@ gimp_cursor_format_get_type (void)
 }
 
 GType
-gimp_handedness_get_type (void)
+gimp_space_bar_action_get_type (void)
 {
   static const GEnumValue values[] =
   {
-    { GIMP_HANDEDNESS_LEFT, "GIMP_HANDEDNESS_LEFT", "left" },
-    { GIMP_HANDEDNESS_RIGHT, "GIMP_HANDEDNESS_RIGHT", "right" },
+    { 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_HANDEDNESS_LEFT, NC_("handedness", "Left-handed"), NULL },
-    { GIMP_HANDEDNESS_RIGHT, NC_("handedness", "Right-handed"), NULL },
+    { 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 }
   };
 
@@ -242,8 +250,8 @@ gimp_handedness_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpHandedness", values);
-      gimp_type_set_translation_context (type, "handedness");
+      type = g_enum_register_static ("GimpSpaceBarAction", values);
+      gimp_type_set_translation_context (type, "space-bar-action");
       gimp_enum_set_value_descriptions (type, descs);
     }
 
@@ -251,23 +259,21 @@ gimp_handedness_get_type (void)
 }
 
 GType
-gimp_position_get_type (void)
+gimp_window_hint_get_type (void)
 {
   static const GEnumValue values[] =
   {
-    { GIMP_POSITION_TOP, "GIMP_POSITION_TOP", "top" },
-    { GIMP_POSITION_BOTTOM, "GIMP_POSITION_BOTTOM", "bottom" },
-    { GIMP_POSITION_LEFT, "GIMP_POSITION_LEFT", "left" },
-    { GIMP_POSITION_RIGHT, "GIMP_POSITION_RIGHT", "right" },
+    { 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_POSITION_TOP, NC_("position", "Top"), NULL },
-    { GIMP_POSITION_BOTTOM, NC_("position", "Bottom"), NULL },
-    { GIMP_POSITION_LEFT, NC_("position", "Left"), NULL },
-    { GIMP_POSITION_RIGHT, NC_("position", "Right"), NULL },
+    { 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 }
   };
 
@@ -275,8 +281,37 @@ gimp_position_get_type (void)
 
   if (G_UNLIKELY (! type))
     {
-      type = g_enum_register_static ("GimpPosition", values);
-      gimp_type_set_translation_context (type, "position");
+      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);
     }
 
diff --git a/app/config/config-enums.h b/app/config/config-enums.h
index e4da201..7f05e9d 100644
--- a/app/config/config-enums.h
+++ b/app/config/config-enums.h
@@ -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,27 +33,38 @@ typedef enum
 } GimpCanvasPaddingMode;
 
 
-#define GIMP_TYPE_SPACE_BAR_ACTION (gimp_space_bar_action_get_type ())
+#define GIMP_TYPE_CURSOR_FORMAT (gimp_cursor_format_get_type ())
 
-GType gimp_space_bar_action_get_type (void) G_GNUC_CONST;
+GType gimp_cursor_format_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;
+  GIMP_CURSOR_FORMAT_BITMAP, /*< desc="Black & white" >*/
+  GIMP_CURSOR_FORMAT_PIXBUF  /*< desc="Fancy"         >*/
+} GimpCursorFormat;
 
 
-#define GIMP_TYPE_ZOOM_QUALITY (gimp_zoom_quality_get_type ())
+#define GIMP_TYPE_CURSOR_MODE (gimp_cursor_mode_get_type ())
 
-GType gimp_zoom_quality_get_type (void) G_GNUC_CONST;
+GType gimp_cursor_mode_get_type (void) G_GNUC_CONST;
 
 typedef enum
 {
-  GIMP_ZOOM_QUALITY_LOW,   /*< desc="Low"  >*/
-  GIMP_ZOOM_QUALITY_HIGH   /*< desc="High" >*/
-} GimpZoomQuality;
+  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;
+
+typedef enum
+{
+  GIMP_HANDEDNESS_LEFT, /*< desc="Left-handed"  >*/
+  GIMP_HANDEDNESS_RIGHT /*< desc="Right-handed" >*/
+} GimpHandedness;
 
 
 #define GIMP_TYPE_HELP_BROWSER_TYPE (gimp_help_browser_type_get_type ())
@@ -79,62 +78,66 @@ typedef enum
 } GimpHelpBrowserType;
 
 
-#define GIMP_TYPE_WINDOW_HINT (gimp_window_hint_get_type ())
+#define GIMP_TYPE_ICON_SIZE (gimp_icon_size_get_type ())
 
-GType gimp_window_hint_get_type (void) G_GNUC_CONST;
+GType gimp_icon_size_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;
+  GIMP_ICON_SIZE_DEFAULT, /*< desc="Default size" > */
+  GIMP_ICON_SIZE_SMALL,   /*< desc="Small size"   > */
+  GIMP_ICON_SIZE_MEDIUM,  /*< desc="Medium size"  > */
+  GIMP_ICON_SIZE_LARGE,   /*< desc="Large size"   > */
+  GIMP_ICON_SIZE_HUGE     /*< desc="Huge size"    > */
+} GimpIconSize;
 
 
-#define GIMP_TYPE_CURSOR_FORMAT (gimp_cursor_format_get_type ())
+#define GIMP_TYPE_POSITION (gimp_position_get_type ())
 
-GType gimp_cursor_format_get_type (void) G_GNUC_CONST;
+GType gimp_position_get_type (void) G_GNUC_CONST;
 
 typedef enum
 {
-  GIMP_CURSOR_FORMAT_BITMAP, /*< desc="Black & white" >*/
-  GIMP_CURSOR_FORMAT_PIXBUF  /*< desc="Fancy"         >*/
-} GimpCursorFormat;
+  GIMP_POSITION_TOP,    /*< desc="Top" >*/
+  GIMP_POSITION_BOTTOM, /*< desc="Bottom" >*/
+  GIMP_POSITION_LEFT,   /*< desc="Left"  >*/
+  GIMP_POSITION_RIGHT   /*< desc="Right" >*/
+} GimpPosition;
 
 
-#define GIMP_TYPE_HANDEDNESS (gimp_handedness_get_type ())
+#define GIMP_TYPE_SPACE_BAR_ACTION (gimp_space_bar_action_get_type ())
 
-GType gimp_handedness_get_type (void) G_GNUC_CONST;
+GType gimp_space_bar_action_get_type (void) G_GNUC_CONST;
 
 typedef enum
 {
-  GIMP_HANDEDNESS_LEFT, /*< desc="Left-handed"  >*/
-  GIMP_HANDEDNESS_RIGHT /*< desc="Right-handed" >*/
-} GimpHandedness;
+  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_POSITION (gimp_position_get_type ())
 
-GType gimp_position_get_type (void) G_GNUC_CONST;
+#define GIMP_TYPE_WINDOW_HINT (gimp_window_hint_get_type ())
+
+GType gimp_window_hint_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_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_ICON_SIZE (gimp_icon_size_get_type ())
 
-GType gimp_icon_size_get_type (void) G_GNUC_CONST;
+#define GIMP_TYPE_ZOOM_QUALITY (gimp_zoom_quality_get_type ())
+
+GType gimp_zoom_quality_get_type (void) G_GNUC_CONST;
 
 typedef enum
 {
-  GIMP_ICON_SIZE_DEFAULT, /*< desc="Default size" > */
-  GIMP_ICON_SIZE_SMALL,   /*< desc="Small size"   > */
-  GIMP_ICON_SIZE_MEDIUM,  /*< desc="Medium size"  > */
-  GIMP_ICON_SIZE_LARGE,   /*< desc="Large size"   > */
-  GIMP_ICON_SIZE_HUGE     /*< desc="Huge size"    > */
-} GimpIconSize;
+  GIMP_ZOOM_QUALITY_LOW,   /*< desc="Low"  >*/
+  GIMP_ZOOM_QUALITY_HIGH   /*< desc="High" >*/
+} GimpZoomQuality;
+
 
 #endif /* __CONFIG_ENUMS_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]