
2001-12-03 Michael Natterer <mitch@gimp.org> * app/devices.c: use the passed Gimp pointer instead of using "the_gimp". * app/base/temp-buf.c: indentation. * app/gui/preferences-dialog.c: prefs_toggle_callback(): fixed segfault when trying to find the prefs_dlg widget from a menu item callback (Fixes #65757). * app/gui/offset-dialog.[ch]: fixed public prototype, include the header in the .c file. * app/gui/menus.c: some menu cleanup: moved all functions which operate on the active layer/drawable to <Image>/Layer. Renamed "Layers" to "Layer". * app/display/gimpdisplayshell.c: changed menu update function accordingly. * app/gui/image-commands.[ch] * app/gui/layers-commands.[ch]: moved stuff from image-commands.* to layers-commads.*- * app/tools/gimpblendtool.c * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcurvestool.c * app/tools/gimphistogramtool.c * app/tools/gimphuesaturationtool.c * app/tools/gimplevelstool.c * app/tools/gimpposterizetool.c * app/tools/gimpthresholdtool.c * app/tools/paint_options.c * app/tools/transform_options.c * plug-ins/common/align_layers.c * plug-ins/common/autocrop.c * plug-ins/common/autostretch_hsv.c * plug-ins/common/c_astretch.c * plug-ins/common/color_enhance.c * plug-ins/common/guillotine.c * plug-ins/common/normalize.c * plug-ins/common/rotate.c * plug-ins/common/threshold_alpha.c * plug-ins/common/zealouscrop.c * plug-ins/rcm/rcm.c * plug-ins/fp/fp.c: register under <Image>/Layer, some cosmetic fixes.
95 lines
3.9 KiB
C
95 lines
3.9 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 __LAYERS_COMMANDS_H__
|
|
#define __LAYERS_COMMANDS_H__
|
|
|
|
|
|
void layers_previous_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_next_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_raise_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_lower_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_raise_to_top_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_lower_to_bottom_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
|
|
void layers_new_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_duplicate_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_anchor_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_delete_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
|
|
void layers_desaturate_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void layers_invert_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void layers_equalize_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
|
|
void layers_offset_cmd_callback (GtkWidget *widget,
|
|
gpointer data);
|
|
void layers_scale_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_resize_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_resize_to_image_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
|
|
void layers_add_layer_mask_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_apply_layer_mask_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_delete_layer_mask_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
|
|
void layers_merge_layers_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_merge_down_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_flatten_image_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
|
|
void layers_alpha_select_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_mask_select_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_add_alpha_channel_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
void layers_edit_attributes_cmd_callback (GtkWidget *widet,
|
|
gpointer data);
|
|
|
|
void layers_menu_update (GtkItemFactory *factory,
|
|
gpointer data);
|
|
|
|
void layers_new_layer_query (GimpImage *gimage);
|
|
void layers_edit_layer_query (GimpLayer *layer);
|
|
|
|
void layers_layer_merge_query (GimpImage *gimage,
|
|
gboolean merge_visible);
|
|
|
|
|
|
#endif /* __LAYERS_COMMANDS_H__ */
|