mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 21:11:43 +00:00
f2ca257438
2003-03-12 Michael Natterer <mitch@gimp.org> * app/core/core-enums.[ch]: added descriptions to the GimpChannelType enum. * app/core/gimpimage.[ch]: added gimp_image_get_component_index() utility function which does the GIMP_RED_CHANNEL -> RED_PIX etc. mapping. Use it in all component getters/setters. * app/widgets/gimpcomponenteditor.[ch]: new widget implementing the component list using GtkListStore/GtkTreeView. Still a bit ugly because it uses the standard check instead of the eye icon. * app/widgets/gimpcomponentlistitem.[ch]: removed. * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpvectorslistview.c: changed accordingly. * app/widgets/gimpchannellistview.[ch]: create a GimpComponentEditor and removed the old GtkList based stuff. * app/widgets/gimpitemlistview.[ch]: keep around a pointer to the GimpMenuFactory passed to the constructor. * app/gui/channels-menu.c (channels_menu_update): do the right thing if "data" is a GimpComponentEditor. * app/gui/channels-commands.[ch]: ditto. Implemented duplicating of components and component to selection (bug #61018).
51 lines
2.3 KiB
C
51 lines
2.3 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_channel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_raise_channel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_lower_channel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_duplicate_channel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_delete_channel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_channel_to_sel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_add_channel_to_sel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_sub_channel_from_sel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_intersect_channel_with_sel_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void channels_edit_channel_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__ */
|