gimp/libgimptool
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 massive tool plugin changes 2002-03-29 03:50:29 +00:00
gimptool.c libgimpmodule/gimpmodule.c libgimpwidgets/gimpcolorscales.c include 2002-10-29 12:09:46 +00:00
gimptool.h massive tool plugin changes 2002-03-29 03:50:29 +00:00
gimptoolcontrol.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptoolenums.c Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimptoolenums.h Transform tool cleanup: 2002-11-14 11:54:57 +00:00
gimptoolmodule.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimptoolmodule.h devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimptooltypes.h Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
Makefile.am app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
makefile.msc updated 2002-09-06 22:25:19 +00:00