1997-11-25 06:05:25 +08: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 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2002-03-15 01:07:02 +08:00
|
|
|
#ifndef __GIMP_TOOLBOX_COLOR_AREA_H__
|
|
|
|
#define __GIMP_TOOLBOX_COLOR_AREA_H__
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2000-01-02 08:16:47 +08:00
|
|
|
|
1999-10-27 02:27:27 +08:00
|
|
|
#define FOREGROUND 0
|
|
|
|
#define BACKGROUND 1
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
/*
|
1999-08-22 19:45:31 +08:00
|
|
|
* Global variables
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2000-01-03 15:49:19 +08:00
|
|
|
extern gint active_color; /* foreground (= 0) or background (= 1) */
|
2000-12-25 04:27:04 +08:00
|
|
|
|
|
|
|
#ifdef DISPLAY_FILTERS
|
2001-10-17 19:33:43 +08:00
|
|
|
extern GimpDisplay *color_area_gdisp; /* hack for color displays */
|
2000-12-25 04:27:04 +08:00
|
|
|
#endif /* DISPLAY_FILTERS */
|
1998-09-01 06:22:23 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
/*
|
1999-08-22 19:45:31 +08:00
|
|
|
* Functions
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2002-03-15 01:07:02 +08:00
|
|
|
GtkWidget * gimp_toolbox_color_area_create (GimpToolbox *toolbox,
|
|
|
|
gint width,
|
2002-06-08 20:15:11 +08:00
|
|
|
gint height);
|
1998-09-01 06:22:23 +08:00
|
|
|
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2002-03-15 01:07:02 +08:00
|
|
|
#endif /* __GIMP_TOOLBOX_COLOR_AREA_H__ */
|