mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
be0e7d119c
2001-02-05 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/apptypes.h: some new files and data types: * app/gimppreview.[ch]: new widgets which provides a view of a GimpViewable. * app/gimpcontainerview.[ch]: new abstract widget base class for views of GimpContainers of GimpViewables * app/gimpcontainerlistview.[ch]: (still) simple implementation of a list view of the container. * app/gimpbrush.[ch] * app/gimppattern.[ch]: provide dumb implementations of the GimpViewable's "preview" method. * app/image_render.c: quick bad hack to enable preview sizes which are != "preview_size": Always allocate data chunks for previews up to 256 pixels width. * app/drawable.c: emit the "incalidate_preview" signal from drawable_update(). This may cause useless updates at the moment but as we want to move from explicit updates to signal-driven model-view stuff it's the right thing (TM). * app/commands.[ch] * app/interface.c * app/menus.c: Added a "Test dialogs" menu to the Toolbox. * app/pdb/image_cmds.c * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: propagated the new alpha channel stuff to the autogenerated files.
183 lines
4.8 KiB
C
183 lines
4.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.
|
|
*/
|
|
|
|
#ifndef __APPTYPES_H__
|
|
#define __APPTYPES_H__
|
|
|
|
|
|
#include "libgimpcolor/gimpcolortypes.h"
|
|
#include "libgimpmath/gimpmathtypes.h"
|
|
#include "libgimpwidgets/gimpwidgetstypes.h"
|
|
|
|
|
|
#include "undo_types.h"
|
|
|
|
#include "appenums.h"
|
|
|
|
|
|
/* base objects */
|
|
|
|
typedef struct _GimpObject GimpObject;
|
|
|
|
typedef struct _GimpContainer GimpContainer;
|
|
typedef struct _GimpList GimpList;
|
|
typedef struct _GimpDataList GimpDataList;
|
|
|
|
typedef struct _GimpContext GimpContext;
|
|
|
|
typedef struct _GimpViewable GimpViewable;
|
|
|
|
|
|
/* drawable objects */
|
|
|
|
typedef struct _GimpDrawable GimpDrawable;
|
|
|
|
typedef struct _GimpChannel GimpChannel;
|
|
|
|
typedef struct _GimpLayer GimpLayer;
|
|
typedef struct _GimpLayerMask GimpLayerMask;
|
|
|
|
typedef struct _GimpImage GimpImage;
|
|
typedef GimpImage GImage;
|
|
|
|
|
|
/* data objects */
|
|
|
|
typedef struct _GimpBrush GimpBrush;
|
|
typedef struct _GimpBrushGenerated GimpBrushGenerated;
|
|
typedef struct _GimpBrushPipe GimpBrushPipe;
|
|
|
|
typedef struct _GimpPattern GimpPattern;
|
|
|
|
typedef struct _GimpPalette GimpPalette;
|
|
|
|
|
|
/* widgets */
|
|
|
|
typedef struct _GimpPreview GimpPreview;
|
|
typedef struct _GimpContainerListView GimpContainerListView;
|
|
typedef struct _GimpContainerGridView GimpContainerGridView;
|
|
typedef struct _HistogramWidget HistogramWidget;
|
|
|
|
|
|
/* other stuff */
|
|
|
|
typedef struct _Argument Argument;
|
|
|
|
typedef struct _BezierPoint BezierPoint;
|
|
typedef struct _BezierSelect BezierSelect;
|
|
|
|
typedef struct _BoundSeg BoundSeg;
|
|
|
|
typedef struct _ColorNotebook ColorNotebook;
|
|
|
|
typedef struct _DrawCore DrawCore;
|
|
|
|
typedef struct _GDisplay GDisplay;
|
|
|
|
typedef struct _GimpContextPreview GimpContextPreview;
|
|
|
|
typedef struct _GimpHistogram GimpHistogram;
|
|
|
|
typedef struct _GimpImageNewValues GimpImageNewValues;
|
|
|
|
typedef struct _GimpLut GimpLut;
|
|
|
|
typedef struct _GimpParasite GimpParasite;
|
|
|
|
typedef struct _GimpProgress GimpProgress;
|
|
|
|
typedef struct _gradient_t gradient_t;
|
|
|
|
typedef struct _Guide Guide;
|
|
|
|
typedef gpointer ImageMap;
|
|
|
|
typedef struct _InfoDialog InfoDialog;
|
|
|
|
typedef struct _PaintCore PaintCore;
|
|
|
|
typedef struct _Path Path;
|
|
typedef struct _PathPoint PathPoint;
|
|
typedef struct _PathList PathList;
|
|
|
|
typedef struct _PlugIn PlugIn;
|
|
typedef struct _PlugInDef PlugInDef;
|
|
typedef struct _PlugInProcDef PlugInProcDef;
|
|
|
|
typedef struct _ParasiteList ParasiteList;
|
|
|
|
typedef struct _PixelRegionIterator PixelRegionIterator;
|
|
typedef struct _PixelRegion PixelRegion;
|
|
typedef struct _PixelRegionHolder PixelRegionHolder;
|
|
|
|
typedef struct _ProcArg ProcArg;
|
|
typedef struct _ProcRecord ProcRecord;
|
|
|
|
typedef guint32 Tattoo;
|
|
|
|
typedef struct _TempBuf TempBuf;
|
|
typedef struct _TempBuf MaskBuf;
|
|
|
|
typedef struct _Tile Tile;
|
|
typedef struct _TileManager TileManager;
|
|
|
|
typedef struct _Tool Tool;
|
|
typedef struct _ToolInfo ToolInfo;
|
|
|
|
typedef struct _ToolOptions ToolOptions;
|
|
|
|
typedef struct _ScanConvertPoint ScanConvertPoint;
|
|
|
|
typedef struct _Selection Selection;
|
|
|
|
typedef struct _SelectionOptions SelectionOptions;
|
|
|
|
typedef struct _TransformCore TransformCore;
|
|
|
|
|
|
/* some undo stuff */
|
|
|
|
typedef struct _LayerUndo LayerUndo;
|
|
|
|
typedef struct _LayerMaskUndo LayerMaskUndo;
|
|
|
|
typedef struct _FStoLayerUndo FStoLayerUndo;
|
|
|
|
typedef GSList PathUndo;
|
|
|
|
|
|
/* functions */
|
|
|
|
typedef void (* TileValidateProc) (TileManager *tm,
|
|
Tile *tile);
|
|
|
|
typedef void (* ToolOptionsResetFunc) (void);
|
|
|
|
typedef void (* GimpProgressFunc) (gint min,
|
|
gint max,
|
|
gint current,
|
|
gpointer data);
|
|
|
|
typedef void (* ImageMapApplyFunc) (PixelRegion *srcPR,
|
|
PixelRegion *destPR,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __APPTYPES_H__ */
|