gimp/plug-ins/script-fu
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
..
scripts switch horizontal and vertical blurring. They were reversed. 2002-06-23 10:57:06 +00:00
siod code cleanup by Maurits Rijk <lpeek.mrijk@consunet.nl> (#72288). 2002-02-26 14:56:09 +00:00
.cvsignore Finally a font-selector. 1998-08-10 15:06:58 +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
convert-script Might be useful ... 1998-08-05 21:38:27 +00:00
interp_md5.c Initial revision 1997-11-24 22:05:25 +00:00
interp_md5.h Initial revision 1997-11-24 22:05:25 +00:00
interp_regex.c app/regexrepl.c removed here ... 2001-07-12 00:58:39 +00:00
interp_slib.c code cleanup by Maurits Rijk <lpeek.mrijk@consunet.nl> (#72288). 2002-02-26 14:56:09 +00:00
interp_sliba.c Merged changes from stable branch: 2001-04-23 14:47:24 +00:00
interp_trace.c fixed up idle handler for file open (look like testgtk idle demo) 1998-04-11 05:07:52 +00:00
scheme-wrapper.c app/paint/Makefile.am app/paint/paint-enums.h split enums into their own 2002-03-19 15:05:38 +00:00
scheme-wrapper.h new code to call the script_fuc_text_console pdb function. remove batch 2001-07-17 22:53:21 +00:00
script-fu-console.c fixed communication with the SIOD interpreter: 2002-05-02 16:29:42 +00:00
script-fu-console.h code formating paranoia. 2001-07-30 00:46:09 +00:00
script-fu-constants.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
script-fu-constants.h app/channel.h app/gimpimage.h app/gimpimageP.h app/layer.h app/undo.[ch] 1999-09-23 23:42:38 +00:00
script-fu-enums.h set the window title for file selection dialogs as we do for directory 2001-11-21 18:50:50 +00:00
script-fu-interface.c a first start at cleaning up the Script-Fu user interface. 2002-05-24 19:44:37 +00:00
script-fu-intl.h libgimp/stdplugins-intl.h use the new function gimp_locale_directory() 2002-05-11 11:26:14 +00:00
script-fu-scripts.c a first start at cleaning up the Script-Fu user interface. 2002-05-24 19:44:37 +00:00
script-fu-scripts.h new code to call the script_fuc_text_console pdb function. remove batch 2001-07-17 22:53:21 +00:00
script-fu-server.c tools/pdbgen/pdb/gimprc.pdb don't leak the result of 2002-08-22 15:16:36 +00:00
script-fu-server.h new code to call the script_fuc_text_console pdb function. remove batch 2001-07-17 22:53:21 +00:00
script-fu-text-console.c somewhat cleaner implementation. 2002-05-18 00:47:13 +00:00
script-fu-text-console.h code formating paranoia. 2001-07-30 00:46:09 +00:00
script-fu.c i18n fixes 2002-07-07 23:57:43 +00:00
siod-wrapper.c app/paint/Makefile.am app/paint/paint-enums.h split enums into their own 2002-03-19 15:05:38 +00:00
siod-wrapper.h new code to call the script_fuc_text_console pdb function. remove batch 2001-07-17 22:53:21 +00:00
siod.h app/channel.h app/gimpimage.h app/gimpimageP.h app/layer.h app/undo.[ch] 1999-09-23 23:42:38 +00:00
siodp.h Initial revision 1997-11-24 22:05:25 +00:00