gimp/plug-ins/file-bmp
Michael Natterer e16c8a2352 Move the new "default_new_layer_mode" APIs to the image...
...in both the core and libgimp.

Images now know what the default mode for new layers is:

- NORMAL for empty images
- NORMAL for images with any non-legacy layer
- NORMAL_LEGAVY for images with only legacy layers

This changes behavior when layers are created from the UI, but *also*
when created by plug-ins (yes there is a compat issue here):

- Most (all?) single-layer file importers now create NORMAL layers
- Screenshot, Webpage etc also create NORMAL layers

Scripts that create images from scratch (logos etc) should not be
affected because they usually have NORMAL_LEGACY hardcoded.

3rd party plug-ins and scripts will also behave old-style unless they
get ported to gimp_image_get_default_new_layer_mode().
2017-08-21 20:18:00 +02:00
..
.gitignore Adding Microsoft Windows executables to the .gitignore files 2009-06-19 00:14:17 +02:00
Makefile.am plug-ins: cleanup in file-bmp 2016-04-20 13:55:53 +01:00
bmp-load.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
bmp-load.h plug-ins: cleanup in file-bmp 2016-04-20 13:55:53 +01:00
bmp-save.c plug-ins: more code cleanup in file-bmp 2016-04-23 01:07:20 +02:00
bmp-save.h plug-ins: cleanup in file-bmp 2016-04-20 13:55:53 +01:00
bmp.c plug-ins: cleanup in file-bmp 2016-04-20 13:55:53 +01:00
bmp.h plug-ins: more code cleanup in file-bmp 2016-04-23 01:07:20 +02:00