CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     neo     05/04/16 10:51:49

Modified files:
        tools/pdbgen   : enums.pl 
        tools/pdbgen/pdb: color.pdb 

Log message:
2005-04-16  Sven Neumann  <[EMAIL PROTECTED]>

Applied a patch (with minor modifications) from Karine Delvare
that makes it possible to choose between various ways to remove
color from a drawable (bug #155507 
[http://bugzilla.gnome.org/show_bug.cgi?id=155507]):

* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.

* libgimpbase/gimpbaseenums.c
* libgimp/gimpenums.c.tail
* plug-ins/pygimp/gimpenums.py
* tools/pdbgen/enums.pl: regenerated.

* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
to remove colors from a drawable.

* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
it behaves like it always did.

* app/pdb/color_cmds.c: regenerated.

* app/dialogs/Makefile.am
* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
dialog to choose a mode for desaturation.

* app/actions/drawable-actions.[ch]: use the new dialog.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=neo&date=explicit&mindate=2005-04-16%2010:50&maxdate=2005-04-16%2010:52

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to