app: factor file_gbr_brush_to_layer() out of the brush-to-image logic
of file-gbr-load, and add some layer handling magic that doesn't
change a thing for simple brushes, but is needed for loading brush
pipes.
(cherry picked from commit 3b89ae40d0
)
This commit is contained in:
@ -19,19 +19,22 @@
|
||||
#define __FILE_DATA_GBR_H__
|
||||
|
||||
|
||||
GimpValueArray * file_gbr_load_invoker (GimpProcedure *procedure,
|
||||
Gimp *gimp,
|
||||
GimpContext *context,
|
||||
GimpProgress *progress,
|
||||
const GimpValueArray *args,
|
||||
GError **error);
|
||||
GimpValueArray * file_gbr_load_invoker (GimpProcedure *procedure,
|
||||
Gimp *gimp,
|
||||
GimpContext *context,
|
||||
GimpProgress *progress,
|
||||
const GimpValueArray *args,
|
||||
GError **error);
|
||||
|
||||
GimpValueArray * file_gbr_save_invoker (GimpProcedure *procedure,
|
||||
Gimp *gimp,
|
||||
GimpContext *context,
|
||||
GimpProgress *progress,
|
||||
const GimpValueArray *args,
|
||||
GError **error);
|
||||
GimpValueArray * file_gbr_save_invoker (GimpProcedure *procedure,
|
||||
Gimp *gimp,
|
||||
GimpContext *context,
|
||||
GimpProgress *progress,
|
||||
const GimpValueArray *args,
|
||||
GError **error);
|
||||
|
||||
GimpLayer * file_gbr_brush_to_layer (GimpImage *image,
|
||||
GimpBrush *brush);
|
||||
|
||||
|
||||
#endif /* __FILE_DATA_GBR_H__ */
|
||||
|
Reference in New Issue
Block a user