changed the GimpNewDrawableFunc typedef to take an additional
2001-12-17 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdrawablelistview.[ch]: changed the GimpNewDrawableFunc typedef to take an additional "GimpDrawable *template" paramater, added the "Drop to New" feature again by passing the dropped drawable to view->new_drawable_func(). * app/gui/channels-commands.[ch]: channels_new_channel_query: * app/gui/layers-commands.[ch]: layers_new_layer_query: Added the "template" parameter because they are used as the views' new_drawable_func(), create layers/channels with the template's properties if a template is passed.
This commit is contained in:

committed by
Michael Natterer

parent
9901ec4846
commit
d15b07b486
@ -84,7 +84,8 @@ void layers_edit_attributes_cmd_callback (GtkWidget *widet,
|
||||
void layers_menu_update (GtkItemFactory *factory,
|
||||
gpointer data);
|
||||
|
||||
void layers_new_layer_query (GimpImage *gimage);
|
||||
void layers_new_layer_query (GimpImage *gimage,
|
||||
GimpLayer *tamplate);
|
||||
void layers_edit_layer_query (GimpLayer *layer);
|
||||
|
||||
void layers_layer_merge_query (GimpImage *gimage,
|
||||
|
Reference in New Issue
Block a user