mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 21:11:43 +00:00
a7b2c160b4
2003-08-27 Michael Natterer <mitch@gimp.org> Cleaned up my "To Selection" cleanup: * app/gui/channels-commands.[ch] * app/gui/layers-commands.[ch] * app/gui/vectors-commands.[ch]: removed the separate cmd_callbacks for REPLACE,ADD,SUBTRACT,INTERSECT and pass the operation as "guint action" to the callback. * app/gui/channels-menu.c * app/gui/image-menu.c * app/gui/layers-menu.c * app/gui/vectors-menu.c: changed accordingly.
46 lines
2.2 KiB
C
46 lines
2.2 KiB
C
/* The GIMP -- an 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 __CHANNELS_COMMANDS_H__
|
|
#define __CHANNELS_COMMANDS_H__
|
|
|
|
|
|
void channels_new_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_raise_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_lower_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_duplicate_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_delete_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_to_selection_cmd_callback (GtkWidget *widget,
|
|
gpointer data,
|
|
guint action);
|
|
void channels_edit_attributes_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
|
|
void channels_new_channel_query (GimpImage *gimage,
|
|
GimpChannel *template,
|
|
gboolean interactive);
|
|
void channels_edit_channel_query (GimpChannel *channel);
|
|
|
|
|
|
#endif /* __CHANNELS_COMMANDS_H__ */
|