GIMP's OVERLAY mode was identical to SOFTLIGHT. This commit fixes the
issue and introduces a NEW_OVERLAY mode and enum value.
- change gimp:overlay-mode to be a real (svg-ish) overlay mode
- when compositing, map OVERLAY to gimp:softlight-mode
- when compisiting, map NEW_OVERLAY to gimp:overlay-mode
- bump the XCF version when NEW_OVERLAY is used
- map OVERLAY to SOFTLIGHT when loading and saving XCF
- map OVERLAY to softlight in all PDB setters
- map OVERLAY to softlight when deserializing a GimpContext
- change all paint mode menus to show an entry for NEW_OVERLAY
instead of OVERLAY
- change PSP, PSD and OpenRaster to use NEW_OVERLAY
These changes should (redundantly) make sure that no OVERLAY enum
value is used in the core any longer because it gets mapped to
SOFTLIGHT at all entry points, with the downside of introducing a
setter/getter asymmetry when OVERLAY was set in a PDB api.
2006-07-19 Manish Singh <yosh@gimp.org>
This is the start of wrapping much more of the GIMP API in Python.
It's not complete yet, some things are broken.
* plug-ins/pygimp/gimpcolormodule.c
* plug-ins/pygimp/pygimpcolor.h
* plug-ins/pygimp/pygimpcolor-api.h
* plug-ins/pygimp/pygimp-colors.c: wrapped GimpHSV, GimpHSL, and
GimpCMYK. Fleshed out a bit more of GimpRGB as well. Made the API
exportable to other modules.
* plug-ins/pygimp/pygimp-rgb.c: removed, subsumed into
pygimp-colors.c.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp-drawable.c
* plug-ins/pygimp/pygimp-pdb.c: PDB calls receive and create
gimpcolor.RGB objects now.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp-api.h: export pygimp_drawable_new.
* plug-ins/pygimp/gimpcolor-types.defs
* plug-ins/pygimp/gimpenums-types.defs
* plug-ins/pygimp/gimpui.defs
* plug-ins/pygimp/gimpui.override
* plug-ins/pygimp/gimpuimodule.c: new module for GIMP UI widget
bindings.
* plug-ins/pygimp/gimpui.py
* plug-ins/pygimp/gimpfu.py: use some of the new widgets.
* plug-ins/pygimp/Makefile.am: hook all the above into the build
system.
* plug-ins/pygimp/plug-ins/palette-sort.py: use new color API.