gimp/app/pdb
Michael Natterer 163a3f4155 More color correction stuff cleanup:
2002-09-04  Michael Natterer  <mitch@gimp.org>

	More color correction stuff cleanup:

	* app/base/Makefile.am
	* app/base/base-types.h
	* app/base/levels.[ch]: new files containing levels_lut_func(), a
	new "Levels" parameter struct and the "auto levels" stuff.

	* app/base/lut-funcs.[ch]: removed the levels stuff here, added
	lots of g_return_if_fail().

	* app/base/color-balance.[ch]
	* app/base/hue-saturation.[ch]: added init() and reset() functions
	so we don't need to duplicate this code in the tool and the pdb
	wrappers.

	* app/base/curves.[ch]: s/gint/GimpHistogramChannel/g, made
	curves_channel_reset() initialize the curves array.

	* app/tools/gimpcolorbalancetool.[ch]: use the new functions,
	moved the "Range" frame to the top, added a per-range "Reset"
	button, made the global "Reset" button reset all ranges and
	the "Preserve Luminosity" toggle.

	* app/tools/gimpcurvestool.[ch]: don't initialize the curves
	array manually, as curves_channel_reset() does that,
	s/gint/GimpHistogramChannel/g.

	* app/tools/gimphuesaturationtool.c: use the new functions, added
	a per-channel "Reset" button and made the global "Reset" button
	reset all channels, cleaned up the GUI update function.

	* app/tools/gimplevelstool.[ch]: changed to use the new Levels
	parameter struct and it's utility functions. Removed stuff
	which now lives in base/levels.c

	* app/tools/gimpimagemaptool.c: align the "Preview" button
	bottom-left, not bottom-right.

	* tools/pdbgen/pdb/color.pdb: use the new stuff and removed
	uglyness because using the "Levels" struct makes the code more
	straightforward.

	* app/pdb/color_cmds.c: regenerated.
2002-09-04 15:25:15 +00:00
..
.cvsignore changed destdir for app-side PDB wrappers to app/pdb 2001-01-21 21:58:16 +00:00
brush_select_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
brushes_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
channel_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
color_cmds.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
convert_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
display_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
drawable_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
edit_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
fileops_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
floating_sel_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
gimp-pdb.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
gimp-pdb.h app/core/Makefile.am app/core/core-types.h added an "application object" 2001-07-04 19:31:35 +00:00
gimppdb.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
gimppdb.h app/core/Makefile.am app/core/core-types.h added an "application object" 2001-07-04 19:31:35 +00:00
gimppluginprocedure.c INSTALL NEWS require latest versions of glib, gtk+ and friends. Bumped our 2001-12-27 17:58:30 +00:00
gimppluginprocedure.h INSTALL NEWS require latest versions of glib, gtk+ and friends. Bumped our 2001-12-27 17:58:30 +00:00
gimpprocedure.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
gimpprocedure.h app/core/Makefile.am app/core/core-types.h added an "application object" 2001-07-04 19:31:35 +00:00
gimprc_cmds.c tools/pdbgen/pdb/gimprc.pdb don't leak the result of 2002-08-22 15:16:36 +00:00
gradient_select_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
gradients_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
guides_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
help_cmds.c app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
image_cmds.c Refcount layer masks correctly. Fixes layer mask undo. 2002-09-01 07:25:41 +00:00
internal_procs.c added image_get_name. Also, no longer duplicate the string in 2002-05-07 22:35:29 +00:00
internal_procs.h link the app in a different order as some init functions are called from 2001-10-19 16:41:09 +00:00
layer_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +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 #define GETTEXT_PACKAGE 2002-03-28 00:10:56 +00:00
message_cmds.c Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile. 2002-04-14 14:38:55 +00:00
misc_cmds.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
misc_tools_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
paint_tools_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
palette_cmds.c app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
palette_select_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
palettes_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
parasite_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
paths_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
pattern_select_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
patterns_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
pdb-types.h devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
pdb_glue.h app/core/Makefile.am app/core/core-types.h new base class for something 2002-02-25 17:58:50 +00:00
plug_in_cmds.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
procedural_db.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
procedural_db.h app/core/Makefile.am app/core/core-types.h added an "application object" 2001-07-04 19:31:35 +00:00
procedural_db_cmds.c app/config/gimpconfig-serialize.[ch] app/config/gimpconfig.h added new 2001-12-28 16:26:54 +00:00
README Added another warning about autogenerated files 2001-01-21 22:28:16 +00:00
selection_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
selection_tools_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
text_tool_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
transform_tools_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
undo_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
unit_cmds.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00

This directory contains the PDB-wrappers for various internal
Gimp functions.

THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS!

If you need to change the code please have a look in ../../tools/pdbgen/pdb.