mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
6fa33d6855
2000-05-27 Michael Natterer <mitch@gimp.org> Libgimp cleanup part II (with a little help from Yosh who moved the CVS files). * libgimp/Makefile.am * libgimp/gimpchannel_pdb.c * libgimp/gimpdisplay_pdb.c * libgimp/gimpdrawable_pdb.c * libgimp/gimpgradient_pdb.c * libgimp/gimphelp_pdb.c * libgimp/gimpimage_pdb.c * libgimp/gimplayer_pdb.c * libgimp/gimppalette_pdb.c * libgimp/gimpparasite_pdb.c * libgimp/gimpselection_pdb.c * libgimp/gimpunit_pdb.c: new names of all files which contain PDB wrappers. * modules/Makefile.am * libgimp/gimpcolordisplay.h * libgimp/gimpcolorselector.h * modules/gimpmodregister.[ch]: renamed. * libgimp/gimpparasiteF.h * libgimp/gimpparasiteP.h: removed because gimp.h had to include the private header anyway. * app/color_notebook.c * app/color_select.c * app/gdisplay_color.[ch] * app/gdisplay_color_ui.c * app/gimpbrushpipe.c * app/gimpdrawable.[ch] * app/gimpimage.c * app/gimpimage.h * app/gimpparasite.[ch] * app/gimprc.c * app/image_new.c * app/layer.c * app/parasite_cmds.c * app/parasitelist.[ch] * app/plug_in.c * app/procedural_db.c * app/undo.c * app/xcf.c * libgimp/gimp.[ch] * libgimp/gimpcolordisplay.h * libgimp/gimpparasite.[ch] * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c * modules/colorsel_gtk.c * modules/colorsel_triangle.c * modules/colorsel_water.c * plug-ins/FractalExplorer/Dialogs.c * plug-ins/FractalExplorer/Events.c * plug-ins/Lighting/lighting_apply.c * plug-ins/Lighting/lighting_shade.c * plug-ins/MapObject/mapobject_image.c * plug-ins/common/gpb.c * plug-ins/common/psp.c * plug-ins/sel2path/sel2path.c * po-libgimp/POTFILES.in * tools/pdbgen/pdb.pl * tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
63 lines
2.3 KiB
C
63 lines
2.3 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1999 Manish Singh
|
|
*
|
|
* 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
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
#ifndef __GDISPLAY_COLOR_H__
|
|
#define __GDISPLAY_COLOR_H__
|
|
|
|
#include "gdisplayF.h"
|
|
|
|
#include "libgimp/gimpcolordisplay.h"
|
|
|
|
|
|
typedef struct _ColorDisplayNode ColorDisplayNode;
|
|
|
|
struct _ColorDisplayNode {
|
|
gpointer cd_ID;
|
|
char *cd_name;
|
|
GimpColorDisplayConvert cd_convert;
|
|
};
|
|
|
|
typedef void (*GimpCDFunc) (const char *name,
|
|
gpointer user_data);
|
|
|
|
void color_display_init (void);
|
|
void color_display_foreach (GimpCDFunc func,
|
|
gpointer user_data);
|
|
|
|
ColorDisplayNode * gdisplay_color_attach (GDisplay *gdisp,
|
|
const char *name);
|
|
ColorDisplayNode * gdisplay_color_attach_clone (GDisplay *gdisp,
|
|
ColorDisplayNode *node);
|
|
void gdisplay_color_detach (GDisplay *gdisp,
|
|
ColorDisplayNode *node);
|
|
void gdisplay_color_detach_destroy (GDisplay *gdisp,
|
|
ColorDisplayNode *node);
|
|
void gdisplay_color_detach_all (GDisplay *gdisp);
|
|
void gdisplay_color_reorder_up (GDisplay *gdisp,
|
|
ColorDisplayNode *node);
|
|
void gdisplay_color_reorder_down (GDisplay *gdisp,
|
|
ColorDisplayNode *node);
|
|
|
|
void gdisplay_color_configure (ColorDisplayNode *node,
|
|
GFunc ok_func,
|
|
gpointer ok_data,
|
|
GFunc cancel_func,
|
|
gpointer cancel_data);
|
|
void gdisplay_color_configure_cancel (ColorDisplayNode *node);
|
|
|
|
#endif /* __GDISPLAY_COLOR_H__ */
|