mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
e86e003224
2008-05-21 Sven Neumann <sven@gimp.org> Add Desaturate as an image-map tool with live preview (bug #533808): * app/gegl/Makefile.am * app/gegl/gegl-types.h * app/gegl/gimpdesaturateconfig.[ch]: added config object for the desaturate point filter. * app/gegl/gimpoperationdesaturate.[ch]: derive from GimpOperationPointFilter. Unrolled the inner loop. * app/core/gimpdrawable-desaturate.c: changed accordingly. * app/tools/Makefile.am * app/tools/gimpdesaturatetool.[ch]: added desaturate as an imagemap tool. So far only the GEGL code path is implemented. * app/tools/gimp-tools.c: register the new tool. * app/dialogs/dialogs.c: register the new tool dialog. * app/dialogs/Makefile.am * app/dialogs/desaturate-dialog.[ch]: removed the desaturate dialog. * app/actions/drawable-actions.c * app/actions/drawable-commands.[ch]: removed action "drawable-desaturate". * app/widgets/gimphelp-ids.h: changed help IDs accordingly. * menus/image-menu.xml.in: replaced "drawable-desaturate" with "tools-desaturate". * libgimpwidgets/gimpstock.h: added a define for GIMP_STOCK_TOOL_DESATURATE. svn path=/trunk/; revision=25726
46 lines
2 KiB
C
46 lines
2 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* 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 __DRAWABLE_COMMANDS_H__
|
|
#define __DRAWABLE_COMMANDS_H__
|
|
|
|
|
|
void drawable_equalize_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void drawable_invert_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void drawable_levels_stretch_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void drawable_offset_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
|
|
void drawable_linked_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void drawable_visible_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
|
|
void drawable_flip_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
void drawable_rotate_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __DRAWABLE_COMMANDS_H__ */
|