mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
5ffb34db38
* app/Makefile.am * app/gimpdrawable-preview.[ch]: new files formerly known as gimpdrawablepreview.[ch]. This is a new naming scheme for methods of objects which live outside their object's file. The old name implied a derived object (and is in fact now taken by a GimpPreview subclass, see below). Further candidates for renaming are e.g. gimpdrawable-invert.[ch], gimpimage-convert.[ch] etc. Finaly, the main objects (image, drawable) will go to their own directories together with their subclasses. * app/apptypes.h: added typedefs for the new objects: * app/gimpbrushpreview.[ch] * app/gimppatternpreview.[ch]: new subclasses of GimpPreview. * app/gimpdrawablepreview.[ch]: contains a subclass of GimpPreview now. * app/gimpviewable.[ch]: renamed the virtual functions to "get_preview" and "get_new_preview" to avoid confusion with the new GimpPreview subclasses. * app/gimppreview.[ch]: virtualized "create_preview" and "create_popup". * app/gimpmarshal.[ch]: new marsaller for GimpPreview. * app/channels_dialog.c * app/fileops.c * app/gimpbrush.c * app/gimpdnd.c * app/gimpdrawable.c * app/gimpimage.c * app/gimppattern.c * app/layer_select.c * app/layers_dialog.c * app/lc_dialog.c * app/nav_window.c * app/palette_import.c * app/undo_history.c * app/pdb/drawable_cmds.c * app/pdb/image_cmds.c * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/image.pdb: changed accordingly.
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* GimpBrushPreview Widget
|
|
* Copyright (C) 2001 Michael Natterer
|
|
*
|
|
* 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 __GIMP_BRUSH_PREVIEW_H__
|
|
#define __GIMP_BRUSH_PREVIEW_H__
|
|
|
|
|
|
#include "gimppreview.h"
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
#define GIMP_TYPE_BRUSH_PREVIEW (gimp_brush_preview_get_type ())
|
|
#define GIMP_BRUSH_PREVIEW(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_BRUSH_PREVIEW, GimpBrushPreview))
|
|
#define GIMP_BRUSH_PREVIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GIMP_TYPE_BRUSH_PREVIEW, GimpBrushPreviewClass))
|
|
#define GIMP_IS_BRUSH_PREVIEW(obj) (GTK_CHECK_TYPE (obj, GIMP_TYPE_BRUSH_PREVIEW))
|
|
#define GIMP_IS_BRUSH_PREVIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_BRUSH_PREVIEW))
|
|
|
|
|
|
typedef struct _GimpBrushPreviewClass GimpBrushPreviewClass;
|
|
|
|
struct _GimpBrushPreview
|
|
{
|
|
GimpPreview parent_instance;
|
|
};
|
|
|
|
struct _GimpBrushPreviewClass
|
|
{
|
|
GimpPreviewClass parent_class;
|
|
};
|
|
|
|
|
|
GtkType gimp_brush_preview_get_type (void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __GIMP_BRUSH_PREVIEW_H__ */
|