1998-07-09 13:31:06 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2002-03-08 08:27:45 +08:00
|
|
|
* gimpbrusheditor.h
|
2001-05-01 21:16:59 +08:00
|
|
|
* Copyright 1998 Jay Cox <jaycox@earthlink.net>
|
1998-07-09 13:31:06 +08:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2000-09-29 20:00:00 +08:00
|
|
|
|
2002-03-08 08:27:45 +08:00
|
|
|
#ifndef __GIMP_BRUSH_EDITOR_H__
|
|
|
|
#define __GIMP_BRUSH_EDITOR_H__
|
1998-07-09 13:31:06 +08:00
|
|
|
|
|
|
|
|
2002-03-08 08:27:45 +08:00
|
|
|
#include "gimpdataeditor.h"
|
1999-10-27 02:27:27 +08:00
|
|
|
|
2001-02-14 09:42:12 +08:00
|
|
|
|
2002-03-08 08:27:45 +08:00
|
|
|
#define GIMP_TYPE_BRUSH_EDITOR (gimp_brush_editor_get_type ())
|
|
|
|
#define GIMP_BRUSH_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_BRUSH_EDITOR, GimpBrushEditor))
|
|
|
|
#define GIMP_BRUSH_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_BRUSH_EDITOR, GimpBrushEditorClass))
|
|
|
|
#define GIMP_IS_BRUSH_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_BRUSH_EDITOR))
|
|
|
|
#define GIMP_IS_BRUSH_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_BRUSH_EDITOR))
|
|
|
|
#define GIMP_BRUSH_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_BRUSH_EDITOR, GimpBrushEditorClass))
|
1998-07-09 13:31:06 +08:00
|
|
|
|
|
|
|
|
2002-03-08 08:27:45 +08:00
|
|
|
typedef struct _GimpBrushEditorClass GimpBrushEditorClass;
|
2001-02-14 09:42:12 +08:00
|
|
|
|
2002-03-08 08:27:45 +08:00
|
|
|
struct _GimpBrushEditor
|
|
|
|
{
|
|
|
|
GimpDataEditor parent_instance;
|
|
|
|
|
|
|
|
GtkWidget *preview;
|
|
|
|
|
2004-08-01 11:06:58 +08:00
|
|
|
GtkWidget *shape_group;
|
2002-03-08 08:27:45 +08:00
|
|
|
GtkWidget *options_table;
|
|
|
|
GtkAdjustment *radius_data;
|
2004-08-02 01:20:00 +08:00
|
|
|
GtkAdjustment *spikes_data;
|
2002-03-08 08:27:45 +08:00
|
|
|
GtkAdjustment *hardness_data;
|
|
|
|
GtkAdjustment *angle_data;
|
|
|
|
GtkAdjustment *aspect_ratio_data;
|
2004-09-17 18:31:34 +08:00
|
|
|
GtkAdjustment *spacing_data;
|
2002-03-08 08:27:45 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _GimpBrushEditorClass
|
|
|
|
{
|
|
|
|
GimpDataEditorClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-09-27 02:41:29 +08:00
|
|
|
GType gimp_brush_editor_get_type (void) G_GNUC_CONST;
|
2002-03-09 00:34:42 +08:00
|
|
|
|
2005-10-26 05:38:00 +08:00
|
|
|
GtkWidget * gimp_brush_editor_new (Gimp *gimp,
|
|
|
|
GimpMenuFactory *menu_factory);
|
2002-03-08 08:27:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __GIMP_BRUSH_EDITOR_H__ */
|