Solving issue 1529: "Better color handling of the Tone curve", adds a second Exposure tone curve

This commit is contained in:
natureh 510
2012-09-21 15:31:52 +02:00
parent 011a77d3ab
commit 08e0d1d4c5
42 changed files with 795 additions and 295 deletions

View File

@@ -135,18 +135,19 @@ CurveEditor::CurveEditor (Glib::ustring text, CurveEditorGroup* ceGroup, CurveEd
bottomBarCP = NULL;
leftBarCP = NULL;
curveCP = NULL;
relatedWidget = NULL;
group = ceGroup;
subGroup = ceSubGroup;
if (group && text.size())
curveType = new PopUpToggleButton(text + ":");
else
curveType = new PopUpToggleButton();
if (group && text.size())
curveType = new PopUpToggleButton(text + ":");
else
curveType = new PopUpToggleButton();
curveType->set_tooltip_text(M("CURVEEDITOR_TYPE"));
// TODO: Does this signal have to be blocked when on curve type change ?
curveType->signal_toggled().connect ( sigc::mem_fun(*this, &CurveEditor::curveTypeToggled) );
curveType->set_tooltip_text(M("CURVEEDITOR_TYPE"));
// TODO: Does this signal have to be blocked when on curve type change ?
curveType->signal_toggled().connect ( sigc::mem_fun(*this, &CurveEditor::curveTypeToggled) );
typeconn = curveType->signal_changed().connect (sigc::mem_fun(*this, &CurveEditor::typeSelectionChanged) );
}