1997-11-24 22:05:25 +00:00
|
|
|
/* 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
|
1998-04-13 05:44:11 +00:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-24 22:05:25 +00:00
|
|
|
*/
|
2000-12-16 21:37:03 +00:00
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
#ifndef __BRUSH_SELECT_H__
|
|
|
|
#define __BRUSH_SELECT_H__
|
|
|
|
|
1999-04-22 14:34:00 +00:00
|
|
|
|
1999-10-26 18:27:27 +00:00
|
|
|
typedef struct _BrushSelect BrushSelect;
|
1997-11-24 22:05:25 +00:00
|
|
|
|
1999-10-26 18:27:27 +00:00
|
|
|
struct _BrushSelect
|
|
|
|
{
|
2002-03-12 21:02:10 +00:00
|
|
|
GimpContext *context;
|
|
|
|
gchar *callback_name;
|
|
|
|
gint spacing_value;
|
1999-04-22 14:34:00 +00:00
|
|
|
|
2002-03-12 21:02:10 +00:00
|
|
|
GtkWidget *shell;
|
2001-02-12 18:05:12 +00:00
|
|
|
GtkWidget *view;
|
2001-02-23 21:32:47 +00:00
|
|
|
GtkAdjustment *opacity_data;
|
1999-10-26 18:27:27 +00:00
|
|
|
GtkWidget *option_menu;
|
|
|
|
};
|
1999-09-02 09:20:48 +00:00
|
|
|
|
|
|
|
|
2002-03-13 15:29:59 +00:00
|
|
|
BrushSelect * brush_select_new (Gimp *gimp,
|
|
|
|
const gchar *title,
|
|
|
|
const gchar *initial_brush,
|
|
|
|
gdouble initial_opacity,
|
|
|
|
GimpLayerModeEffects initial_mode,
|
|
|
|
gint initial_spacing,
|
|
|
|
const gchar *callback_name);
|
|
|
|
void brush_select_free (BrushSelect *bsp);
|
|
|
|
|
|
|
|
BrushSelect * brush_select_get_by_callback (const gchar *callback_name);
|
2002-03-12 21:02:10 +00:00
|
|
|
void brush_select_dialogs_check (void);
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2001-02-12 18:05:12 +00:00
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
#endif /* __BRUSH_SELECT_H__ */
|