Gimp/app/base
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 define GIMP_MKENUMS for use in Makefile.am. 2002-03-17 14:07:54 +00:00
base-config.c app/base/base-config.[ch] use a gulong for the tile_cache_size. 2002-05-28 20:29:27 +00:00
base-config.h app/base/base-config.[ch] use a gulong for the tile_cache_size. 2002-05-28 20:29:27 +00:00
base-enums.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
base-enums.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
base-types.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
base.c moved use_shm declaration here, added use_mmx. 2002-03-22 13:37:26 +00:00
base.h app/base/Makefile.am new files for base_init() and base_exit() which 2001-05-20 18:37:07 +00:00
boundary.c some more g_malloc -> g_new and g_realloc -> g_renew changes, for better 2001-12-18 18:52:53 +00:00
boundary.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
brush-scale.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
brush-scale.h new directory app/base/ 2001-05-15 11:25:25 +00:00
color-balance.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
color-balance.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
cpercep.c app/core/cpercep.[ch] app/core/gimpimage-convert.c removed C++ style 2002-05-24 10:48:08 +00:00
cpercep.h app/core/cpercep.[ch] app/core/gimpimage-convert.c removed C++ style 2002-05-24 10:48:08 +00:00
curves.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
curves.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
detect-mmx.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
detect-mmx.S app/Makefile.am removed. 2001-07-11 23:47:26 +00:00
gimphistogram.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
gimphistogram.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
gimplut.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
gimplut.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
hue-saturation.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
hue-saturation.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
levels.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
levels.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
lut-funcs.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
lut-funcs.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
Makefile.am More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
makefile.msc #define GETTEXT_PACKAGE 2002-03-28 00:10:56 +00:00
pixel-processor.c Fixed usage of uninitialized memory found by valgrind, plus some cleanup: 2002-08-22 09:48:56 +00:00
pixel-processor.h new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-region.c Fixed usage of uninitialized memory found by valgrind, plus some cleanup: 2002-08-22 09:48:56 +00:00
pixel-region.h Fixed usage of uninitialized memory found by valgrind, plus some cleanup: 2002-08-22 09:48:56 +00:00
pixel-surround.c some more g_malloc -> g_new and g_realloc -> g_renew changes, for better 2001-12-18 18:52:53 +00:00
pixel-surround.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
temp-buf.c Fixed usage of uninitialized memory found by valgrind, plus some cleanup: 2002-08-22 09:48:56 +00:00
temp-buf.h pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
threshold.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
threshold.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
tile-cache.c app/base/base-config.[ch] use a gulong for the tile_cache_size. 2002-05-28 20:29:27 +00:00
tile-cache.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
tile-manager-crop.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile-manager-crop.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-private.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
tile-manager.c pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
tile-manager.h pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
tile-private.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
tile-swap.c use off_t to handle file offsets (#74478). 2002-06-12 18:44:46 +00:00
tile-swap.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00