gimp/plug-ins/screenshot
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 Bug 757687 - Screenshot functionality broken under Wayland 2015-11-07 15:52:44 +01:00
Makefile.am plug-ins: rename all screenshot win32 files to screenshot-win32-* 2016-05-01 19:20:56 +02:00
screenshot-gnome-shell.c Bug 723498 - Gimp changes contrast and color of images 2017-01-31 21:26:44 +01:00
screenshot-gnome-shell.h Bug 764450 - Crash in screenshot's gnome-shell backend 2016-04-02 01:28:34 +02:00
screenshot-icon.h plug-ins: more cleanup in screenhot, move the icon to its own file 2016-04-02 21:44:09 +02:00
screenshot-osx.c Bug 784890 - Being able to take a screenshot of a single window and... 2017-07-18 15:04:09 +02:00
screenshot-osx.h Bug 764450 - Crash in screenshot's gnome-shell backend 2016-04-02 01:28:34 +02:00
screenshot-win32-resource.h plug-ins: rename all screenshot win32 files to screenshot-win32-* 2016-05-01 19:20:56 +02:00
screenshot-win32-select.cur plug-ins: rename all screenshot win32 files to screenshot-win32-* 2016-05-01 19:20:56 +02:00
screenshot-win32-small.ico plug-ins: rename all screenshot win32 files to screenshot-win32-* 2016-05-01 19:20:56 +02:00
screenshot-win32.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
screenshot-win32.h plug-ins: convert win-snap to screenshot 2016-05-01 19:10:57 +02:00
screenshot-win32.ico plug-ins: convert win-snap to screenshot 2016-05-01 19:10:57 +02:00
screenshot-win32.rc Fix wrong reference to .ico .cur and resource.h for to fix compilation errors on windows. 2016-05-20 16:14:36 +02:00
screenshot-x11.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
screenshot-x11.h Bug 764450 - Crash in screenshot's gnome-shell backend 2016-04-02 01:28:34 +02:00
screenshot.c Bug 784890 - Being able to take a screenshot of a single window and... 2017-07-18 15:04:09 +02:00
screenshot.h Bug 723498 - Gimp changes contrast and color of images 2017-01-31 21:26:44 +01:00