Commit ab465c74 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

add read-only property "frozen" and new API

2007-11-15  Michael Natterer  <>

	* app/core/gimpviewable.[ch]: add read-only property "frozen" and
	new API gimp_viewable_preview_is_fozen(). Emit property notifications.

	* app/widgets/gimphistogramview.[ch]: add API to show a second
	histogram in the background. Remove member "light_histogram" from
	the GimpHistogramViewClass struct.

	* app/widgets/gimpcurveview.c: don't set "light_histogram".

	* app/tools/gimpcurvestool.c: set the background histogram instead.

	* app/widgets/gimphistogrameditor.[ch]: connect to "notify::frozen"
	of the drawable and show its histogram at the freezing point in
	the background. This way the original histogram is visible while
	we are doing color corrections.

svn path=/trunk/; revision=24159
parent 2ff7c79c
......@@ -254,8 +254,8 @@ gimp_curves_tool_initialize (GimpTool *tool,
c_tool->channel = (c_tool->channel == GIMP_HISTOGRAM_ALPHA) ? 1 : 0;
gimp_drawable_calculate_histogram (drawable, c_tool->hist);
gimp_histogram_view_set_histogram (GIMP_HISTOGRAM_VIEW (c_tool->graph),
gimp_histogram_view_set_background (GIMP_HISTOGRAM_VIEW (c_tool->graph),
gimp_curve_view_set_curve (GIMP_CURVE_VIEW (c_tool->graph),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment