2000-05-31 14:15:06 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 08:47:26 +08:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
2000-05-31 14:15:06 +08:00
|
|
|
*
|
2004-09-23 02:43:09 +08:00
|
|
|
* gimppalette.h
|
2000-05-31 14:15:06 +08:00
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This library is free software: you can redistribute it and/or
|
2000-05-31 14:15:06 +08:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2009-01-18 06:28:01 +08:00
|
|
|
* version 3 of the License, or (at your option) any later version.
|
2000-06-01 22:59:22 +08:00
|
|
|
*
|
2000-05-31 14:15:06 +08:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2000-06-01 22:59:22 +08:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-05-31 14:15:06 +08:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2009-01-18 06:28:01 +08:00
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
2000-05-31 14:15:06 +08:00
|
|
|
*/
|
|
|
|
|
2004-09-23 02:43:09 +08:00
|
|
|
#ifndef __GIMP_PALETTE_H__
|
|
|
|
#define __GIMP_PALETTE_H__
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_BEGIN_DECLS
|
2000-05-31 14:15:06 +08:00
|
|
|
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
2004-09-23 02:43:09 +08:00
|
|
|
#ifndef GIMP_DISABLE_DEPRECATED
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2003-07-02 09:20:08 +08:00
|
|
|
gboolean gimp_palette_get_foreground (GimpRGB *foreground);
|
|
|
|
gboolean gimp_palette_get_background (GimpRGB *background);
|
|
|
|
gboolean gimp_palette_set_foreground (const GimpRGB *foreground);
|
|
|
|
gboolean gimp_palette_set_background (const GimpRGB *background);
|
2000-08-23 09:44:59 +08:00
|
|
|
gboolean gimp_palette_set_default_colors (void);
|
|
|
|
gboolean gimp_palette_swap_colors (void);
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2004-09-23 02:43:09 +08:00
|
|
|
#endif /* GIMP_DISABLE_DEPRECATED */
|
|
|
|
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_END_DECLS
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2004-09-23 02:43:09 +08:00
|
|
|
#endif /* __GIMP_PALETTE_H__ */
|