home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / app / brush_edit.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-29  |  1.7 KB  |  53 lines

  1. /* The GIMP -- an image manipulation program
  2.  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
  3.  *
  4.  * brush_edit module Copyright 1998 Jay Cox <jaycox@earthlink.net>
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19.  */
  20.  
  21. #ifndef  __BRUSH_EDIT_H__
  22. #define  __BRUSH_EDIT_H__
  23.  
  24. #include "gimpbrushgenerated.h"
  25.  
  26. typedef struct _BrushEditGeneratedWindow BrushEditGeneratedWindow;
  27.  
  28. struct _BrushEditGeneratedWindow
  29. {
  30.   GtkWidget     *shell;
  31.   GtkWidget     *frame;
  32.   GtkWidget     *preview;
  33.   GtkWidget     *scale_label;
  34.   GtkWidget     *options_box;
  35.   GtkWidget     *name;
  36.   GtkAdjustment *radius_data;
  37.   GtkAdjustment *hardness_data;
  38.   GtkAdjustment *angle_data;
  39.   GtkAdjustment *aspect_ratio_data;
  40.  
  41.   /*  Brush preview  */
  42.   GtkWidget          *brush_preview;
  43.   GimpBrushGenerated *brush;
  44.   gint                scale;
  45. };
  46.  
  47. BrushEditGeneratedWindow * brush_edit_generated_new (void);
  48.  
  49. void brush_edit_generated_set_brush (BrushEditGeneratedWindow *begw,
  50.                      GimpBrush                *brush);
  51.  
  52. #endif  /*  __BRUSH_EDIT_H__  */
  53.