mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
3004cb1bd0
2004-09-29 Michael Natterer <mitch@gimp.org> * tools/pdbgen/Makefile.am * tools/pdbgen/groups.pl: renamed group "gradient_edit" to "gradient" and added "brush", "palette" and "pattern" groups. * tools/pdbgen/pdb/gradient_edit.pdb: removed. * tools/pdbgen/pdb/brush.pdb * tools/pdbgen/pdb/gradient.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/pattern.pdb: new files containing functions which create, duplicate, rename, delete, query and manipulate a single brush, pattern etc. * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/palettes.pdb * tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete now and simply removed the procedures that were added after 2.0. * app/pdb/gradient_edit_cmds.c * libgimp/gimpgradientedit_pdb.[ch]: removed. * app/pdb/brush_cmds.c * app/pdb/gradient_cmds.c * app/pdb/palette_cmds.c * app/pdb/pattern_cmds.c * libgimp/gimpbrush_pdb.[ch] * libgimp/gimpgradient_pdb.[ch] * libgimp/gimppalette_pdb.[ch] * libgimp/gimppattern_pdb.[ch]: new files. * app/pdb/brushes_cmds.c * app/pdb/gradients_cmds.c * app/pdb/internal_procs.c * app/pdb/palettes_cmds.c * app/pdb/patterns_cmds.c * libgimp/gimp_pdb.h * libgimp/gimpbrushes_pdb.[ch] * libgimp/gimpgradients_pdb.[ch] * libgimp/gimppalettes_pdb.[ch] * libgimp/gimppatterns_pdb.[ch]: regenerated. * app/pdb/Makefile.am * libgimp/Makefile.am * plug-ins/gfig/gfig-style.c: changed accordingly.
62 lines
2.3 KiB
C
62 lines
2.3 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
|
*
|
|
* gimppalette_pdb.h
|
|
*
|
|
* 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.
|
|
*
|
|
* This library 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
|
|
* 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.
|
|
*/
|
|
|
|
/* NOTE: This file is autogenerated by pdbgen.pl */
|
|
|
|
#ifndef __GIMP_PALETTE_PDB_H__
|
|
#define __GIMP_PALETTE_PDB_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
gchar* gimp_palette_new (const gchar *name);
|
|
gchar* gimp_palette_duplicate (const gchar *name);
|
|
gchar* gimp_palette_rename (const gchar *name,
|
|
const gchar *new_name);
|
|
gboolean gimp_palette_delete (const gchar *name);
|
|
gboolean gimp_palette_get_info (const gchar *name,
|
|
gint *num_colors);
|
|
gboolean gimp_palette_add_entry (const gchar *name,
|
|
const gchar *entry_name,
|
|
const GimpRGB *color,
|
|
gint *entry_num);
|
|
gboolean gimp_palette_delete_entry (const gchar *name,
|
|
gint entry_num);
|
|
gboolean gimp_palette_entry_get_color (const gchar *name,
|
|
gint entry_num,
|
|
GimpRGB *color);
|
|
gboolean gimp_palette_entry_set_color (const gchar *name,
|
|
gint entry_num,
|
|
const GimpRGB *color);
|
|
gboolean gimp_palette_entry_get_name (const gchar *name,
|
|
gint entry_num,
|
|
gchar **entry_name);
|
|
gboolean gimp_palette_entry_set_name (const gchar *name,
|
|
gint entry_num,
|
|
const gchar *entry_name);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GIMP_PALETTE_PDB_H__ */
|