mirror of https://github.com/GNOME/gimp.git
147 lines
3.8 KiB
C
147 lines
3.8 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
/*< proxy-skip >*/
|
|
|
|
#ifndef __WIDGETS_ENUMS_H__
|
|
#define __WIDGETS_ENUMS_H__
|
|
|
|
|
|
/*
|
|
* these enums that are registered with the type system
|
|
*/
|
|
|
|
#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="Internal" >*/
|
|
GIMP_HELP_BROWSER_NETSCAPE /*< desc="Netscape" >*/
|
|
} GimpHelpBrowserType;
|
|
|
|
|
|
#define GIMP_TYPE_ZOOM_TYPE (gimp_zoom_type_get_type ())
|
|
|
|
GType gimp_zoom_type_get_type (void) G_GNUC_CONST;
|
|
|
|
typedef enum
|
|
{
|
|
GIMP_ZOOM_IN, /*< desc="Zoom in" >*/
|
|
GIMP_ZOOM_OUT /*< desc="Zoom out" >*/
|
|
} GimpZoomType;
|
|
|
|
|
|
/*
|
|
* non-registered enums; register them if needed
|
|
*/
|
|
|
|
typedef enum /*< skip >*/
|
|
{
|
|
GIMP_VIEW_TYPE_GRID,
|
|
GIMP_VIEW_TYPE_LIST
|
|
} GimpViewType;
|
|
|
|
typedef enum /*< skip >*/
|
|
{
|
|
GIMP_DROP_NONE,
|
|
GIMP_DROP_ABOVE,
|
|
GIMP_DROP_BELOW
|
|
} GimpDropType;
|
|
|
|
typedef enum /*< skip >*/
|
|
{
|
|
GIMP_MOUSE_CURSOR = 1024 /* (GDK_LAST_CURSOR + 2) yes, this is insane */,
|
|
GIMP_CROSSHAIR_CURSOR,
|
|
GIMP_CROSSHAIR_SMALL_CURSOR,
|
|
GIMP_BAD_CURSOR,
|
|
GIMP_ZOOM_CURSOR,
|
|
GIMP_COLOR_PICKER_CURSOR,
|
|
GIMP_LAST_CURSOR_ENTRY
|
|
} GimpCursorType;
|
|
|
|
typedef enum /*< skip, proxy-resume >*/
|
|
{
|
|
GIMP_TOOL_CURSOR_NONE,
|
|
GIMP_RECT_SELECT_TOOL_CURSOR,
|
|
GIMP_ELLIPSE_SELECT_TOOL_CURSOR,
|
|
GIMP_FREE_SELECT_TOOL_CURSOR,
|
|
GIMP_FUZZY_SELECT_TOOL_CURSOR,
|
|
GIMP_BEZIER_SELECT_TOOL_CURSOR,
|
|
GIMP_SCISSORS_TOOL_CURSOR,
|
|
GIMP_MOVE_TOOL_CURSOR,
|
|
GIMP_ZOOM_TOOL_CURSOR,
|
|
GIMP_CROP_TOOL_CURSOR,
|
|
GIMP_RESIZE_TOOL_CURSOR,
|
|
GIMP_ROTATE_TOOL_CURSOR,
|
|
GIMP_SHEAR_TOOL_CURSOR,
|
|
GIMP_PERSPECTIVE_TOOL_CURSOR,
|
|
GIMP_FLIP_HORIZONTAL_TOOL_CURSOR,
|
|
GIMP_FLIP_VERTICAL_TOOL_CURSOR,
|
|
GIMP_TEXT_TOOL_CURSOR,
|
|
GIMP_COLOR_PICKER_TOOL_CURSOR,
|
|
GIMP_BUCKET_FILL_TOOL_CURSOR,
|
|
GIMP_BLEND_TOOL_CURSOR,
|
|
GIMP_PENCIL_TOOL_CURSOR,
|
|
GIMP_PAINTBRUSH_TOOL_CURSOR,
|
|
GIMP_AIRBRUSH_TOOL_CURSOR,
|
|
GIMP_INK_TOOL_CURSOR,
|
|
GIMP_CLONE_TOOL_CURSOR,
|
|
GIMP_ERASER_TOOL_CURSOR,
|
|
GIMP_SMUDGE_TOOL_CURSOR,
|
|
GIMP_BLUR_TOOL_CURSOR,
|
|
GIMP_DODGE_TOOL_CURSOR,
|
|
GIMP_BURN_TOOL_CURSOR,
|
|
GIMP_MEASURE_TOOL_CURSOR,
|
|
GIMP_LAST_STOCK_TOOL_CURSOR_ENTRY
|
|
} GimpToolCursorType;
|
|
|
|
typedef enum /*< skip >*/
|
|
{
|
|
GIMP_CURSOR_MODIFIER_NONE,
|
|
GIMP_CURSOR_MODIFIER_PLUS,
|
|
GIMP_CURSOR_MODIFIER_MINUS,
|
|
GIMP_CURSOR_MODIFIER_INTERSECT,
|
|
GIMP_CURSOR_MODIFIER_MOVE,
|
|
GIMP_CURSOR_MODIFIER_RESIZE,
|
|
GIMP_CURSOR_MODIFIER_CONTROL,
|
|
GIMP_CURSOR_MODIFIER_ANCHOR,
|
|
GIMP_CURSOR_MODIFIER_FOREGROUND,
|
|
GIMP_CURSOR_MODIFIER_BACKGROUND,
|
|
GIMP_CURSOR_MODIFIER_PATTERN,
|
|
GIMP_CURSOR_MODIFIER_HAND,
|
|
GIMP_LAST_CURSOR_MODIFIER_ENTRY
|
|
} GimpCursorModifier;
|
|
|
|
typedef enum /*< skip, proxy-skip >*/
|
|
{
|
|
GIMP_DEVICE_VALUE_MODE = 1 << 0,
|
|
GIMP_DEVICE_VALUE_AXES = 1 << 1,
|
|
GIMP_DEVICE_VALUE_KEYS = 1 << 2,
|
|
GIMP_DEVICE_VALUE_TOOL = 1 << 3,
|
|
GIMP_DEVICE_VALUE_FOREGROUND = 1 << 4,
|
|
GIMP_DEVICE_VALUE_BACKGROUND = 1 << 5,
|
|
GIMP_DEVICE_VALUE_BRUSH = 1 << 6,
|
|
GIMP_DEVICE_VALUE_PATTERN = 1 << 7,
|
|
GIMP_DEVICE_VALUE_GRADIENT = 1 << 8
|
|
} GimpDeviceValues;
|
|
|
|
|
|
#endif /* __WIDGETS_ENUMS_H__ */
|