mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
bc28e6fa80
* app/color_area.[ch]: fill dummy gimage->base_type as well * app/gdisplay_color.[ch]: add attach_clone, configure, and configure_cancel functions. * app/gdisplay.[ch]: remove notify hacks, don't need them anymore. Add cd_ui field for cdisplay ui. * app/commands.c: make display filter dialog per display instead of global * libgimp/color_display.h: ok/cancel notification callbacks * modules/cdisplay_gamma.c * app/gdisplay_color_ui.[ch]: changes for above, enabled configuration dialog and color_area dummy handling * app/color_balance.c * app/paint_funcs.c: #include "libgimp/gimpcolorspace.h" * plug-ins/webbrowser/web-browser.scm: updated urls -Yosh
61 lines
2.3 KiB
C
61 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 "libgimp/color_display.h"
|
|
#include "gdisplayF.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__ */
|