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
@ -45,7 +45,8 @@ typedef GimpDrawable * (* GimpCopyDrawableFunc) (GimpDrawable *drawable,
|
||||
typedef GimpDrawable * (* GimpConvertDrawableFunc) (GimpImage *dest_gimage,
|
||||
GimpDrawable *drawable);
|
||||
|
||||
typedef void (* GimpNewDrawableFunc) (GimpImage *gimage);
|
||||
typedef void (* GimpNewDrawableFunc) (GimpImage *gimage,
|
||||
GimpDrawable *template);
|
||||
typedef void (* GimpEditDrawableFunc) (GimpDrawable *drawable);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user