gimp/app/tools
Michael Natterer 1186e83a28 Color correction tool chopping:
2002-08-26  Michael Natterer  <mitch@gimp.org>

	Color correction tool chopping:

	* app/Makefile.am
	* app/image_map.[ch]: removed...

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimagemap.[ch]: ...and added here as object.

	* app/base/Makefile.am
	* app/base/base-types.h
	* app/base/color-balance.[ch]
	* app/base/curves.[ch]
	* app/base/hue-saturation.[ch]
	* app/base/threshold.[ch]: the lowlevel color correction functions
	plus their parameter structs cut out of the resp. tools.

	* app/core/core-enums.[ch]: removed GimpTransferMode enum...

	* app/base/base-enums.[ch]: ...added it here. Also added
	GimpHueRange for the new hue-saturation files.

	* tools/pdbgen/enums.pl
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* app/tools/Makefile.am
	* app/tools/gimpcolorbalancetool-transfer.c: removed (code went
	to base/color-balance.c).

	* app/tools/gimpimagemaptool.[ch]: added most code which was
	diplicated in subclasses. Create the dialog here with a nice title
	bar including image preview and name (fixes #66033). Added virtual
	functions map(), dialog() and reset() which need to be implemented
	by subclasses.

	* app/tools/gimpbrightnesscontrasttool.[ch]
	* app/tools/gimpcolorbalancetool.[ch]
	* app/tools/gimpcurvestool.[ch]
	* app/tools/gimphuesaturationtool.[ch]
	* app/tools/gimplevelstool.[ch]
	* app/tools/gimpposterizetool.[ch]
	* app/tools/gimpthresholdtool.[ch]: removed tons of duplicated
	code and simply implement GimpImageMapTool's virtual functions.
	Removed all dialog structs and keep the variables in the tool
	structs. The dialogs are now created on-the-fly and destroyed when
	the tool goes away, which makes all callbacks much simpler and
	safer. Lots of GUI & code cleanup in all dialogs.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: added separate "Reset Channel"
	buttons and let the global "Reset" buttons reset all color
	channels.

	* app/tools/tools.c: the various antique foo_free() functions
	don't exist any more.

	* app/tools/gimphistogramtool.c: removed ImageMap field from
	dialog struct (it was unused). Cleaned up dialog a bit.

	* tools/pdbgen/Makefile.am: don't scan tools/gimphuesaturationtool.h
	for enums.

	* tools/pdbgen/pdb/color.pdb: use the new stuff from base/ and
	don't include stuff from tools/ any more.

	* app/pdb/color_cmds.c
	* app/pdb/paint_tools_cmds.c: regenerated.
2002-08-26 11:35:56 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
Makefile.am Color correction tool chopping: 2002-08-26 11:35:56 +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 Fix for #85201: 2002-06-16 17:13:39 +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 Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c Color correction tool chopping: 2002-08-26 11:35:56 +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 Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +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 Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpcolorbalancetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpcolorpickertool.c Fixed color picking (reported by jimmac on #gimp): 2002-06-19 22:09:02 +00:00
gimpcolorpickertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpconvolvetool.c Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcroptool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpcroptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcurvestool.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpcurvestool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpdodgeburntool.c Fix for #85201: 2002-06-16 17:13:39 +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 Fix for #85201: 2002-06-16 17:13:39 +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 Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimphistogramtool.h Fix for #85201: 2002-06-16 17:13:39 +00:00
gimphuesaturationtool.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.h Color correction tool chopping: 2002-08-26 11:35:56 +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 renamed gimp_drawable_apply_image() to gimp_drawable_push_undo() because 2002-06-06 19:44:05 +00:00
gimpinktool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpiscissorstool.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
gimpiscissorstool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimplevelstool.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimplevelstool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpmagnifytool.c reverted Dave's change since this feature has already been implemented 2002-08-06 10:55:40 +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 removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpmeasuretool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpmovetool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +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 Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +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 removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +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 Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c Color correction tool chopping: 2002-08-26 11:35:56 +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 removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c 2002-04-28 14:35:01 +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 Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c Fix for #85201: 2002-06-16 17:13:39 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptexttool.c Make sure the selection (gimpimage-mask.c) functionality is really built 2002-08-20 10:22:23 +00:00
gimptexttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpthresholdtool.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpthresholdtool.h Color correction tool chopping: 2002-08-26 11:35:56 +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 Fix for #85201: 2002-06-16 17:13:39 +00:00
gimptransformtool.h General undo cleanup: 2002-02-23 17:29:19 +00:00
gimpvectortool.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimpvectortool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
makefile.msc add appconfig.lib. Statically link libgimptool/gimptool.lib. 2002-05-10 23:30:09 +00:00
paint_options.c Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +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 app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c 2002-04-28 14:35:01 +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 Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +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-enums.c app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am 2002-03-19 19:17:31 +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 Color correction tool chopping: 2002-08-26 11:35:56 +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