2006-12-10 05:33:38 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2002-10-25 07:10:50 +08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* color-history.h
|
|
|
|
* Copyright (C) 2002 Michael Natterer <mitch@gimp.org>
|
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2002-10-25 07:10:50 +08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-18 06:28:01 +08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2002-10-25 07:10:50 +08:00
|
|
|
* (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
|
2009-01-18 06:28:01 +08:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2002-10-25 07:10:50 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __COLOR_HISTORY_H__
|
|
|
|
#define __COLOR_HISTORY_H__
|
|
|
|
|
2003-11-13 23:25:38 +08:00
|
|
|
|
2003-11-12 22:36:50 +08:00
|
|
|
#define COLOR_HISTORY_SIZE 12
|
2002-10-25 07:10:50 +08:00
|
|
|
|
2005-11-07 06:01:25 +08:00
|
|
|
void color_history_save (Gimp *gimp);
|
|
|
|
void color_history_restore (Gimp *gimp);
|
2002-10-25 07:10:50 +08:00
|
|
|
|
2003-03-11 03:01:07 +08:00
|
|
|
gint color_history_add (const GimpRGB *rgb);
|
|
|
|
void color_history_set (gint index,
|
|
|
|
const GimpRGB *rgb);
|
|
|
|
void color_history_get (gint index,
|
|
|
|
GimpRGB *rgb);
|
2002-10-25 07:10:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __COLOR_HISTORY_H__ */
|