2000-05-31 06:15:06 +00:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 00:47:26 +00:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
2000-05-31 06:15:06 +00:00
|
|
|
*
|
2004-09-22 18:43:09 +00:00
|
|
|
* gimppalette.h
|
2000-05-31 06:15:06 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
2000-06-01 14:59:22 +00:00
|
|
|
*
|
2000-05-31 06:15:06 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2000-06-01 14:59:22 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-05-31 06:15:06 +00:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2004-09-22 18:43:09 +00:00
|
|
|
#ifndef __GIMP_PALETTE_H__
|
|
|
|
#define __GIMP_PALETTE_H__
|
2000-05-31 06:15:06 +00:00
|
|
|
|
2001-11-22 23:46:13 +00:00
|
|
|
G_BEGIN_DECLS
|
2000-05-31 06:15:06 +00:00
|
|
|
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
2004-09-22 18:43:09 +00:00
|
|
|
#ifndef GIMP_DISABLE_DEPRECATED
|
2000-05-31 06:15:06 +00:00
|
|
|
|
2003-07-02 01:20:08 +00: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 01:44:59 +00:00
|
|
|
gboolean gimp_palette_set_default_colors (void);
|
|
|
|
gboolean gimp_palette_swap_colors (void);
|
2000-05-31 06:15:06 +00:00
|
|
|
|
2004-09-22 18:43:09 +00:00
|
|
|
#endif /* GIMP_DISABLE_DEPRECATED */
|
|
|
|
|
2000-05-31 06:15:06 +00:00
|
|
|
|
2001-11-22 23:46:13 +00:00
|
|
|
G_END_DECLS
|
2000-05-31 06:15:06 +00:00
|
|
|
|
2004-09-22 18:43:09 +00:00
|
|
|
#endif /* __GIMP_PALETTE_H__ */
|