CVSROOT: /cvs/gnome Module name: gimp Changes by: mitch 06/08/05 09:02:47
Modified files: app/core : gimpdrawable-bucket-fill.h Log message: 2006-08-05 Michael Natterer <[EMAIL PROTECTED]> Applied (modified and enhanced) patch from Chris Moller which allows tools to distinguish similar colors not only by composite, but also by R, G, B, H, S and V. Fixes bug #348291 [http://bugzilla.gnome.org/show_bug.cgi?id=348291]. * app/core/core-enums.[ch]: added new enum GimpSelectCriterion which can be one of { COMPOSITE, R, G, B, H, S, V }. * app/core/gimpimage-contiguous-region.[ch]: added select_criterion params and create the region based on difference by the selected criterion. * app/core/gimpchannel-select.[ch] * app/core/gimpdrawable-bucket-fill.[ch]: take criterion params and pass them through to the contiguous region functions. * app/tools/gimpbucketfilloptions.[ch] * app/tools/gimpselectionoptions.[ch]: added criterion properties and GUI to select it. * app/tools/gimpbucketfilltool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpfuzzyselecttool.c: pass the selected criterion to the resp. core functions. * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpselectioneditor.c * app/display/gimpdisplayshell-dnd.c * tools/pdbgen/pdb/edit.pdb * tools/pdbgen/pdb/selection_tools.pdb: changed accordingly (simply pass GIMP_SELECT_CRITERION_COMPOSITE in most cases). * app/pdb/edit_cmds.c * app/pdb/selection_tools_cmds.c: regenerated. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-08-05%2009:01&maxdate=2006-08-05%2009:03 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list