CVSROOT: /cvs/gnome Module name: gimp Changes by: mitch 06/10/18 04:04:55
Modified files: . : ChangeLog app/tools : gimpforegroundselecttool.c gimpfreeselecttool.c gimpiscissorstool.c gimpregionselecttool.c gimpselectiontool.c gimpselectiontool.h tools-enums.h Log message: 2006-10-18 Michael Natterer <[EMAIL PROTECTED]> Separate selection tool function (select, move, cut, ...) from selection mode (replace, add, ...). Fixes bug #313634 [http://bugzilla.gnome.org/show_bug.cgi?id=313634] (that bug wasn't triggered any more in HEAD, but was still there). * app/tools/tools-enums.h: renamed enum SelectOp to SelectFunction and replaced the values REPLACE, ADD, SUBTRACT and INTERSECT by a single value SELECT. * app/tools/gimpselectiontool.h (struct GimpSelectionTool): renamed member "op" to "function". Changed "SelectOps saved_op" to "GimpChannelOps saved_operation". * app/tools/gimpselectiontool.c: we always have the right GimpChannelOps in the tool options, so simply use it instead of mixing up unrelated stuff in one enum. Results is some medium-ugly nested switches, but is generally much cleaner than before. * app/tools/gimpforegroundselecttool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpiscissorstool.c * app/tools/gimpregionselecttool.c: changed accordingly. Use the operation from the tool options instead of selection_tool->op when making the actual selection. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-10-18%2004:03&maxdate=2006-10-18%2004:05 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list