added the API for level correction using black, gray and white point.

2002-10-15  Sven Neumann  <sven@gimp.org>

	* app/base/levels.[ch]: added the API for level correction using
	black, gray and white point.

	* app/tools/gimpcurvestool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimplevelstool.[ch]: misc smaller changes.

	* app/widgets/gimphistogrambox.[ch]: allocate the buffer for the
	gradient preview on size_allocate, not for every expose event.

	* app/widgets/gimphistogramview.c: fixed drawing for width > 256.

	* themes/Default/images/stock-color-picker-white-18.png: tweaked.
This commit is contained in:
Sven Neumann
2002-10-15 13:36:28 +00:00
committed by Sven Neumann
parent 26bcdccaba
commit bb2b9f6825
11 changed files with 243 additions and 114 deletions

View File

@ -37,6 +37,8 @@ struct _GimpHistogramBox
GtkWidget *label;
GimpHistogramView *histogram;
GtkWidget *gradient;
guchar *gradient_buf;
GtkAdjustment *low_adj;
GtkAdjustment *high_adj;
};