gimp/app/tools
Michael Natterer 7ee99ea3a3 Transform tool cleanup:
2002-11-14  Michael Natterer  <mitch@gimp.org>

	Transform tool cleanup:

	* libgimptool/gimptoolenums.[ch]: removed the TransformState enum.

	* app/tools/gimptransformtool.[ch]: don't dispatch everything
	through the transform() virtual function. Added new vitrual
	functions dialog(), prepare(), motion() and recalc(). Do only the
	actual transform in transform(). Moved lots of logic which was
	duplicated in each subclass' transform() here. Cleanup.

	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: changed accordingly: moved code from
	transform() to the other method imlementations. Removed duplicated
	logic which is now done by our parent class. Makes everything
	smaller and more readable.

	InfoDialog cleanup:

	* app/gui/info-dialog.c: removed the "delete_event" callback so
	InfoDialog users can decide themselves what to do.

	* app/gui/info-window.c
	* app/tools/gimpmeasuretool.c: changed accordingly.

	* app/tools/gimpcolorpickertool.c: ditto. Moved info_dialog
	creation to a utility function to improve code readbility.

	* app/tools/gimpcroptool.c: ditto. Added a "Cancel" button which
	really cancels the tool instead of just hiding the dialog.

	* app/tools/gimptransformtool.c: added a "Cancel" button here too.
2002-11-14 11:54:57 +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 changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpairbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbezierselecttool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpbezierselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpblendtool.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpbrushtool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimpbucketfilltool.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpbucketfilltool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbycolorselecttool.c bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c manually add the src_drawable's offsets instead of implicitly using the 2002-09-02 13:22:25 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorpickertool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpcolorpickertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpconvolvetool.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcroptool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpcroptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gimpcurvestool.c added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimpcurvestool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpdodgeburntool.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpdrawtool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpdrawtool.h massive tool plugin changes 2002-03-29 03:50:29 +00:00
gimpeditselectiontool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +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 Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c Fix for #85201: 2002-06-16 17:13:39 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfliptool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
gimpfreeselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfuzzyselecttool.c namespace cleanup. 2002-08-20 10:40:38 +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 added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimphistogramtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimphuesaturationtool.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c removed the old hack which sets tool->gdisp. Fixes bug #98056. 2002-11-14 11:08:40 +00:00
gimpimagemaptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +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 Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpinktool.c bumped version number to 1.3.10. 2002-10-31 23:06:09 +00:00
gimpinktool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpiscissorstool.c bumped version number to 1.3.10. 2002-10-31 23:06:09 +00:00
gimpiscissorstool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimplevelstool.c added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimplevelstool.h added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimpmagnifytool.c set the toggle_cursor to GIMP_ZOOM_CURSOR, not the tool_cursor. 2002-09-27 15:51:57 +00:00
gimpmagnifytool.h reverted Dave's change since this feature has already been implemented 2002-08-06 10:55:40 +00:00
gimpmeasuretool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpmeasuretool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpmovetool.c bumped version number to 1.3.10. 2002-10-31 23:06:09 +00:00
gimpmovetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintbrushtool.c Fix for #85201: 2002-06-16 17:13:39 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimppaintoptions-gui.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
gimppainttool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimppainttool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimppathtool.c bumped version number to 1.3.10. 2002-10-31 23:06:09 +00:00
gimppathtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppenciltool.c fixed documentation. 2002-05-15 18:23:17 +00:00
gimppenciltool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpperspectivetool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c fixed #84157: allow the tool to scroll the display. Also preserve it on 2002-06-05 09:04:34 +00:00
gimprectselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpregionselecttool.c namespace cleanup. 2002-08-20 10:40:38 +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 Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpselectionoptions.h removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +00:00
gimpselectiontool.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +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 Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c manually add the src_drawable's offsets instead of implicitly using the 2002-09-02 13:22:25 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptexttool.c bumped version number to 1.3.10. 2002-10-31 23:06:09 +00:00
gimptexttool.h allow to load text from a file. 2002-10-11 17:42:26 +00:00
gimpthresholdtool.c app/tools/gimphistogramtool.c app/tools/gimplevelstool.[ch] 2002-10-15 01:15:43 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptoolcontrol.c Fix for #85201: 2002-06-16 17:13:39 +00:00
gimptoolcontrol.h devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimptoolmodule.c app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptoolmodule.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptransformoptions.c app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c 2002-04-28 14:35:01 +00:00
gimptransformoptions.h app/widgets/Makefile.am use gimp_mkenums to create widgets-enums.c, added 2002-03-18 22:26:41 +00:00
gimptransformtool.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimptransformtool.h Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimpvectortool.c bumped version number to 1.3.10. 2002-10-31 23:06:09 +00:00
gimpvectortool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
Makefile.am app/tools/Makefile.am removed this file which was moved to libgimptool in 2002-10-29 10:51:34 +00:00
makefile.msc updated 2002-09-06 22:25:19 +00:00
paint_options.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
paint_options.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
path_tool.c app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
path_tool.h use gimp_display_shell_[install|remove]_override_cursor() to set the 2001-11-12 14:45:58 +00:00
path_toolP.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
selection_options.c changed "Number of Colors" to "Max Number of Colors" to clarify what this 2002-09-06 20:44:47 +00:00
selection_options.h removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +00:00
tool_manager.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
tool_manager.h Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
tool_options.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tool_options.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tools-types.h devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
tools.c Moved generic datafile loading to LibGimpBase: 2002-10-23 14:55:07 +00:00
tools.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00
transform_options.c app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c 2002-04-28 14:35:01 +00:00
transform_options.h app/widgets/Makefile.am use gimp_mkenums to create widgets-enums.c, added 2002-03-18 22:26:41 +00:00
xinput_airbrush.c app/Makefile.am removed... 2001-12-01 00:14:14 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00