1 /* GIMP - The GNU Image Manipulation Program 2 * Copyright (C) 1995 Spencer Kimball and Peter Mattis 3 * 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <https://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef __CONFIG_ENUMS_H__ 19 #define __CONFIG_ENUMS_H__ 20 21 22 #define GIMP_TYPE_CANVAS_PADDING_MODE (gimp_canvas_padding_mode_get_type ()) 23 24 GType gimp_canvas_padding_mode_get_type (void) G_GNUC_CONST; 25 26 typedef enum 27 { 28 GIMP_CANVAS_PADDING_MODE_DEFAULT, /*< desc="From theme" >*/ 29 GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, /*< desc="Light check color" >*/ 30 GIMP_CANVAS_PADDING_MODE_DARK_CHECK, /*< desc="Dark check color" >*/ 31 GIMP_CANVAS_PADDING_MODE_CUSTOM, /*< desc="Custom color" >*/ 32 GIMP_CANVAS_PADDING_MODE_RESET = -1 /*< skip >*/ 33 } GimpCanvasPaddingMode; 34 35 36 #define GIMP_TYPE_CURSOR_FORMAT (gimp_cursor_format_get_type ()) 37 38 GType gimp_cursor_format_get_type (void) G_GNUC_CONST; 39 40 typedef enum 41 { 42 GIMP_CURSOR_FORMAT_BITMAP, /*< desc="Black & white" >*/ 43 GIMP_CURSOR_FORMAT_PIXBUF /*< desc="Fancy" >*/ 44 } GimpCursorFormat; 45 46 47 #define GIMP_TYPE_CURSOR_MODE (gimp_cursor_mode_get_type ()) 48 49 GType gimp_cursor_mode_get_type (void) G_GNUC_CONST; 50 51 typedef enum 52 { 53 GIMP_CURSOR_MODE_TOOL_ICON, /*< desc="Tool icon" >*/ 54 GIMP_CURSOR_MODE_TOOL_CROSSHAIR, /*< desc="Tool icon with crosshair" >*/ 55 GIMP_CURSOR_MODE_CROSSHAIR /*< desc="Crosshair only" >*/ 56 } GimpCursorMode; 57 58 59 #define GIMP_TYPE_EXPORT_FILE_TYPE (gimp_export_file_type_get_type ()) 60 61 GType gimp_export_file_type_get_type (void) G_GNUC_CONST; 62 63 typedef enum 64 { 65 GIMP_EXPORT_FILE_PNG, /*< desc="PNG Image" >*/ 66 GIMP_EXPORT_FILE_JPG, /*< desc="JPEG Image" >*/ 67 GIMP_EXPORT_FILE_ORA, /*< desc="OpenRaster Image" >*/ 68 GIMP_EXPORT_FILE_PSD, /*< desc="Photoshop Image" >*/ 69 GIMP_EXPORT_FILE_PDF, /*< desc="Portable Document Format" >*/ 70 GIMP_EXPORT_FILE_TIF, /*< desc="TIFF Image" >*/ 71 GIMP_EXPORT_FILE_BMP, /*< desc="Windows BMP Image" >*/ 72 GIMP_EXPORT_FILE_WEBP, /*< desc="WebP Image" >*/ 73 } GimpExportFileType; 74 75 76 #define GIMP_TYPE_HANDEDNESS (gimp_handedness_get_type ()) 77 78 GType gimp_handedness_get_type (void) G_GNUC_CONST; 79 80 typedef enum 81 { 82 GIMP_HANDEDNESS_LEFT, /*< desc="Left-handed" >*/ 83 GIMP_HANDEDNESS_RIGHT /*< desc="Right-handed" >*/ 84 } GimpHandedness; 85 86 87 #define GIMP_TYPE_HELP_BROWSER_TYPE (gimp_help_browser_type_get_type ()) 88 89 GType gimp_help_browser_type_get_type (void) G_GNUC_CONST; 90 91 typedef enum 92 { 93 GIMP_HELP_BROWSER_GIMP, /*< desc="GIMP help browser" >*/ 94 GIMP_HELP_BROWSER_WEB_BROWSER /*< desc="Web browser" >*/ 95 } GimpHelpBrowserType; 96 97 98 #define GIMP_TYPE_ICON_SIZE (gimp_icon_size_get_type ()) 99 100 GType gimp_icon_size_get_type (void) G_GNUC_CONST; 101 102 typedef enum 103 { 104 GIMP_ICON_SIZE_AUTO, /*< desc="Guess ideal size" > */ 105 GIMP_ICON_SIZE_THEME, /*< desc="Theme-set size" > */ 106 GIMP_ICON_SIZE_SMALL, /*< desc="Small size" > */ 107 GIMP_ICON_SIZE_MEDIUM, /*< desc="Medium size" > */ 108 GIMP_ICON_SIZE_LARGE, /*< desc="Large size" > */ 109 GIMP_ICON_SIZE_HUGE /*< desc="Huge size" > */ 110 } GimpIconSize; 111 112 113 #define GIMP_TYPE_POSITION (gimp_position_get_type ()) 114 115 GType gimp_position_get_type (void) G_GNUC_CONST; 116 117 typedef enum 118 { 119 GIMP_POSITION_TOP, /*< desc="Top" >*/ 120 GIMP_POSITION_BOTTOM, /*< desc="Bottom" >*/ 121 GIMP_POSITION_LEFT, /*< desc="Left" >*/ 122 GIMP_POSITION_RIGHT /*< desc="Right" >*/ 123 } GimpPosition; 124 125 126 #define GIMP_TYPE_SPACE_BAR_ACTION (gimp_space_bar_action_get_type ()) 127 128 GType gimp_space_bar_action_get_type (void) G_GNUC_CONST; 129 130 typedef enum 131 { 132 GIMP_SPACE_BAR_ACTION_NONE, /*< desc="No action" >*/ 133 GIMP_SPACE_BAR_ACTION_PAN, /*< desc="Pan view" >*/ 134 GIMP_SPACE_BAR_ACTION_MOVE /*< desc="Switch to Move tool" >*/ 135 } GimpSpaceBarAction; 136 137 138 #define GIMP_TYPE_TOOL_GROUP_MENU_MODE (gimp_tool_group_menu_mode_get_type ()) 139 140 GType gimp_tool_group_menu_mode_get_type (void) G_GNUC_CONST; 141 142 typedef enum 143 { 144 GIMP_TOOL_GROUP_MENU_MODE_SHOW_ON_CLICK, /*< desc="Show on click" >*/ 145 GIMP_TOOL_GROUP_MENU_MODE_SHOW_ON_HOVER, /*< desc="Show on hover" >*/ 146 GIMP_TOOL_GROUP_MENU_MODE_SHOW_ON_HOVER_SINGLE_COLUMN /*< desc="Show on hover in single column" >*/ 147 } GimpToolGroupMenuMode; 148 149 150 #define GIMP_TYPE_WINDOW_HINT (gimp_window_hint_get_type ()) 151 152 GType gimp_window_hint_get_type (void) G_GNUC_CONST; 153 154 typedef enum 155 { 156 GIMP_WINDOW_HINT_NORMAL, /*< desc="Normal window" >*/ 157 GIMP_WINDOW_HINT_UTILITY, /*< desc="Utility window" >*/ 158 GIMP_WINDOW_HINT_KEEP_ABOVE /*< desc="Keep above" >*/ 159 } GimpWindowHint; 160 161 162 #define GIMP_TYPE_ZOOM_QUALITY (gimp_zoom_quality_get_type ()) 163 164 GType gimp_zoom_quality_get_type (void) G_GNUC_CONST; 165 166 typedef enum 167 { 168 GIMP_ZOOM_QUALITY_LOW, /*< desc="Low" >*/ 169 GIMP_ZOOM_QUALITY_HIGH /*< desc="High" >*/ 170 } GimpZoomQuality; 171 172 173 #endif /* __CONFIG_ENUMS_H__ */ 174