Gimp/app/tools
Michael Natterer d741af2656 if the user clicks inside an existing selection, initialize the rectangle
2007-03-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_execute): if the user clicks inside an
	existing selection, initialize the rectangle tool to the entire
	selection, not just to the part of it that is within the active
	drawable. Also removed some dead code.


svn path=/trunk/; revision=22049
2007-03-05 21:03:02 +00:00
..
gimp-tools.c added API to delete saved tool-options. 2006-12-11 15:16:13 +00:00
gimp-tools.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpairbrushtool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpairbrushtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpalignoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpalignoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpaligntool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpaligntool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpblendoptions.c set the gradient-type and gradient-repeat combo boxes to ELLIPSIZE_END so 2007-02-27 18:44:55 +00:00
gimpblendoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpblendtool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpblendtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbrightnesscontrasttool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpbrightnesscontrasttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbrushtool.c maintain an is_drawn boolean which indicates whether the drawn stuff is 2007-01-21 19:54:57 +00:00
gimpbrushtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbucketfilloptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbucketfilloptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbucketfilltool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpbucketfilltool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbycolorselecttool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpbycolorselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpclonetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpclonetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorbalancetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorbalancetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorizetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorizetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcoloroptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcoloroptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorpickeroptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorpickeroptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolorpickertool.c app/display/gimpstatusbar.[ch] add optional help text at the end of the 2007-01-21 01:24:51 +00:00
gimpcolorpickertool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcolortool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpcolortool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpconvolvetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpconvolvetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcropoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcropoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcroptool.c added status bar help messages explaining the usage of the modifiers. 2007-02-28 22:35:37 +00:00
gimpcroptool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpcurvestool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpcurvestool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdodgeburntool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdodgeburntool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpdrawtool.c maintain an is_drawn boolean which indicates whether the drawn stuff is 2007-01-21 19:54:57 +00:00
gimpdrawtool.h maintain an is_drawn boolean which indicates whether the drawn stuff is 2007-01-21 19:54:57 +00:00
gimpeditselectiontool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpeditselectiontool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpellipseselecttool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpellipseselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimperasertool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimperasertool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpflipoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpflipoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpfliptool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpfliptool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpforegroundselectoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpforegroundselectoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpforegroundselecttool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpforegroundselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpforegroundselecttoolundo.c app/tools/gimpforegroundselecttool-undo.[ch] removed... 2007-02-03 21:22:37 +00:00
gimpforegroundselecttoolundo.h app/tools/gimpforegroundselecttool-undo.[ch] removed... 2007-02-03 21:22:37 +00:00
gimpfreeselecttool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpfreeselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpfuzzyselecttool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpfuzzyselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimphealtool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimphealtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimphistogramoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimphistogramoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimphuesaturationtool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimphuesaturationtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpimagemapoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpimagemapoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpimagemaptool.c app/actions/error-console-commands.c app/actions/gradients-commands.c 2007-02-02 07:50:36 +00:00
gimpimagemaptool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpinkoptions-gui.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpinkoptions-gui.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpinktool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpinktool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpiscissorstool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpiscissorstool.h app/tools/gimpiscissorstool.h Added some status bar messages. Use 2007-01-19 09:32:35 +00:00
gimplevelstool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimplevelstool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmagnifyoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmagnifyoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmagnifytool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpmagnifytool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmeasureoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmeasureoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmeasuretool.c don't suggest Shift when a new point cannot be added to point 0. 2007-03-01 08:52:37 +00:00
gimpmeasuretool.h added status bar help messages explaining the usage of the modifiers. 2007-02-28 22:35:37 +00:00
gimpmoveoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmoveoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpmovetool.c need to check the distance in screen coords, not image coords. 2007-02-28 13:04:20 +00:00
gimpmovetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppaintbrushtool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppaintbrushtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppaintoptions-gui.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppaintoptions-gui.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppainttool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimppainttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppenciltool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppenciltool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpperspectiveclonetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpperspectiveclonetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpperspectivetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpperspectivetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpposterizetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpposterizetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprectangleoptions.c moved ratio entry up. 2007-02-09 08:36:27 +00:00
gimprectangleoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprectangleselectoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprectangleselectoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprectangleselecttool.c if the user clicks inside an existing selection, initialize the rectangle 2007-03-05 21:03:02 +00:00
gimprectangleselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprectangletool.c app/display/gimpdisplayshell.[ch] only change the remembered last scale 2007-03-04 10:27:17 +00:00
gimprectangletool.h added "gboolean wants_click" member and getters/setters. 2007-02-27 21:11:35 +00:00
gimpregionselecttool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimpregionselecttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprotatetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprotatetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpscaletool.c take the aspect ratio from the size box when the user activates the 2006-12-29 20:48:42 +00:00
gimpscaletool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpselectionoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpselectionoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpselectiontool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpselectiontool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpsheartool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpsheartool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpsmudgetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpsmudgetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpsourcetool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpsourcetool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptextoptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptextoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptexttool.c made time a property and added utility functions to work the undo's age. 2007-02-06 09:05:04 +00:00
gimptexttool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpthresholdtool.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpthresholdtool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptool.c simplified callers and moved calculations out of the SQR() macro. 2007-02-28 16:00:26 +00:00
gimptool.h clean up last commit a bit. Pass the recorded button_press_coords to 2007-02-27 21:40:35 +00:00
gimptoolcontrol.c added "gboolean wants_click" member and getters/setters. 2007-02-27 21:11:35 +00:00
gimptoolcontrol.h added "gboolean wants_click" member and getters/setters. 2007-02-27 21:11:35 +00:00
gimptooloptions-gui.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptooloptions-gui.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptransformoptions.c app/core/Makefile.am app/core/gimp-transform-resize.c 2006-12-24 16:48:08 +00:00
gimptransformoptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimptransformtool.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
gimptransformtool.h store the original aspect ratio. Let the Ctrl key toggle the aspect ratio 2006-12-29 20:04:34 +00:00
gimptransformtoolundo.c app/tools/gimpforegroundselecttool-undo.[ch] removed... 2007-02-03 21:22:37 +00:00
gimptransformtoolundo.h app/tools/gimpforegroundselecttool-undo.[ch] removed... 2007-02-03 21:22:37 +00:00
gimpvectoroptions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectoroptions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectortool.c added status bar help messages explaining the usage of the modifiers. 2007-02-28 22:35:37 +00:00
gimpvectortool.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
Makefile.am app/tools/gimpforegroundselecttool-undo.[ch] removed... 2007-02-03 21:22:37 +00:00
makefile.msc updated 2007-03-04 19:04:42 +00:00
tool_manager.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tool_manager.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tools-enums.c Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
tools-enums.h Step one towards enabling tool cancellation by other means than mouse 2007-02-27 18:55:12 +00:00
tools-types.h app/tools/gimpforegroundselecttool-undo.[ch] removed... 2007-02-03 21:22:37 +00:00
tools-utils.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tools-utils.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00