Gimp/app/tools
Michael Natterer d5edd5308e added an API to specify a "snap_offset" and a "snap_width/height". Needed
2003-04-17  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptoolcontrol.[ch]: added an API to specify a
	"snap_offset" and a "snap_width/height". Needed for tools which
	want to snap to a rectangle and/or a position which is not the
	current cursor position.

	* app/display/gimpdisplayshell.[ch]: removed
	gimp_display_shell_find_guide(), gimp_display_shell_snap_point()
	and gimp_display_shell_snap_rectangle().
	Added gimp_display_shell_snap_coords() which works on GimpCoords
	and gets passed the above snap offsets.

	* app/display/gimpdisplayshell-callbacks.c: use the new snap
	function, using the values from GimpToolControl.

	* app/tools/gimpcroptool.c: set snap offsets so the handles can be
	guide-aligned after creating. Fixes bug #110957.

	* app/tools/gimpeditselectiontool.c: removed snapping code (which
	was broken anyway) and set appropriate snap offsets in
	init_edit_selection().
2003-04-17 02:57:33 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
airbrush_blob.c Makefile.am configure.in added stuff for the new library below. 2001-01-23 23:56:18 +00:00
airbrush_blob.h Update of the Xinput airbrush, fixed some bugs. It's a bit closer to a 1999-11-14 20:49:14 +00:00
gimpairbrushtool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpairbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbezierselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpbezierselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpblendoptions.c added paint_options_container_scrolled() utility function which 2003-04-08 22:43:20 +00:00
gimpblendoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpblendtool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpbrushtool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimpbucketfilloptions.c removed the pattern preview... 2003-04-08 20:08:37 +00:00
gimpbucketfilloptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpbucketfilltool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorpickeroptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpcolorpickeroptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpcolorpickertool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpcolorpickertool.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpconvolvetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpcropoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpcroptool.c added an API to specify a "snap_offset" and a "snap_width/height". Needed 2003-04-17 02:57:33 +00:00
gimpcroptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gimpcurvestool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpcurvestool.h themes/Default/images/Makefile.am 2003-03-14 23:24:37 +00:00
gimpdodgeburntool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpdrawtool.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
gimpdrawtool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpeditselectiontool.c added an API to specify a "snap_offset" and a "snap_width/height". Needed 2003-04-17 02:57:33 +00:00
gimpeditselectiontool.h added enum GimpMotionMode which can be one of { EXACT, HINT, COMPRESS }. 2002-03-19 13:14:25 +00:00
gimpellipseselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpflipoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpfliptool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpfreeselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfuzzyselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpfuzzyselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimphistogramtool.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimphistogramtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimphuesaturationtool.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpimagemaptool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpinkoptions-gui.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpinkoptions-gui.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinkoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpinkoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinktool-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpinktool-blob.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpinktool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpinktool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpiscissorstool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpiscissorstool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimplevelstool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimplevelstool.h added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimpmagnifyoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmagnifyoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpmagnifytool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpmagnifytool.h reverted Dave's change since this feature has already been implemented 2002-08-06 10:55:40 +00:00
gimpmeasureoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmeasureoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpmeasuretool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpmeasuretool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpmoveoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmoveoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpmovetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpmovetool.h added "position" and "push_undo" parameters to gimp_image_add_[vh]guide(). 2003-03-28 13:52:01 +00:00
gimppaintbrushtool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c use a smaller preview size for the gradient popup than for the button. 2003-04-15 11:11:25 +00:00
gimppaintoptions-gui.h added gimp_context_type_to_prop_name(). 2003-04-10 10:34:56 +00:00
gimppainttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimppainttool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimppenciltool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimppenciltool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpperspectivetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimprectselecttool.h added enum GimpRectSelectMode which can be one of "free", "fixed-size" and 2003-01-06 16:25:04 +00:00
gimpregionselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpregionselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimprotatetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpselectionoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpselectiontool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpselectiontool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpsheartool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptextoptions.c app/widgets/gimpcontainerpopup.[ch] added "preview_size" and 2003-04-12 20:02:16 +00:00
gimptextoptions.h themes/Default/images/Makefile.am 2003-03-31 15:10:15 +00:00
gimptexttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptexttool.h app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.[ch] 2003-03-11 01:22:57 +00:00
gimpthresholdtool.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptool.h check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptoolcontrol.c added an API to specify a "snap_offset" and a "snap_width/height". Needed 2003-04-17 02:57:33 +00:00
gimptoolcontrol.h added an API to specify a "snap_offset" and a "snap_width/height". Needed 2003-04-17 02:57:33 +00:00
gimptransformoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimptransformoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimptransformtool-undo.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptransformtool-undo.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimptransformtool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptransformtool.h connect to GimpTransformOptions' "notify" signal and update grid and path 2003-02-10 10:08:01 +00:00
gimpvectoroptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpvectoroptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpvectortool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpvectortool.h made gimp_vector_tool_clear_vectors() private. Connect to the vector's 2003-04-14 14:52:00 +00:00
Makefile.am app/tools/Makefile.am app/tools/gimptoolgui.[ch] removed unused files. 2003-04-15 14:24:03 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
paint_options.c use a smaller preview size for the gradient popup than for the button. 2003-04-15 11:11:25 +00:00
paint_options.h added gimp_context_type_to_prop_name(). 2003-04-10 10:34:56 +00:00
tool_manager.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tool_manager.h added a "const gchar *extension" parameter to 2003-02-10 11:46:10 +00:00
tool_options.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
tool_options.h added a "const gchar *extension" parameter to 2003-02-10 11:46:10 +00:00
tools-enums.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools-enums.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools-types.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00