Patch from issue 1359: "Munsell correction - Lab adjustements" credits: jdesmis
Bundled new features besid the Lab tool enhancement (by jdesmis) : - curve to control skin tones in vibrance tool, credits: jdesmis - right click over SHCSelector (below the parametric curve) to reset to default values, credits: Hombre - colored bars around curves, credits: Hombre
This commit is contained in:
@@ -29,23 +29,24 @@
|
||||
class LCurve : public Gtk::VBox, public AdjusterListener, public FoldableToolPanel, public CurveListener, public ColorProvider {
|
||||
|
||||
protected:
|
||||
CurveEditorGroup* curveEditorG;
|
||||
CurveEditorGroup* curveEditorG;
|
||||
Adjuster* brightness;
|
||||
Adjuster* contrast;
|
||||
Adjuster* saturation;
|
||||
DiagonalCurveEditor* lshape;
|
||||
DiagonalCurveEditor* ashape;
|
||||
DiagonalCurveEditor* bshape;
|
||||
|
||||
//%%%%%%%%%%%%%%%%
|
||||
Gtk::CheckButton* avoidclip;
|
||||
Gtk::CheckButton* enablelimiter;
|
||||
Adjuster* chromaticity;
|
||||
DiagonalCurveEditor* lshape;
|
||||
DiagonalCurveEditor* ashape;
|
||||
DiagonalCurveEditor* bshape;
|
||||
DiagonalCurveEditor* ccshape;
|
||||
//DiagonalCurveEditor* cbgshape;
|
||||
FlatCurveEditor* chshape;
|
||||
|
||||
//%%%%%%%%%%%%%%%%
|
||||
Gtk::CheckButton* avoidcolorshift;
|
||||
Gtk::CheckButton* bwtoning;
|
||||
Adjuster* saturationlimiter;
|
||||
bool cbAdd;
|
||||
sigc::connection bwtconn, acconn, elconn;
|
||||
bool lastBWTVal, lastACVal, lastELVal;
|
||||
//%%%%%%%%%%%%%%%%
|
||||
Adjuster* rstprotection;
|
||||
sigc::connection bwtconn, acconn;
|
||||
bool lastBWTVal, lastACVal;
|
||||
//%%%%%%%%%%%%%%%%
|
||||
|
||||
public:
|
||||
|
||||
@@ -61,8 +62,7 @@ class LCurve : public Gtk::VBox, public AdjusterListener, public FoldableToolPan
|
||||
|
||||
void curveChanged (CurveEditor* ce);
|
||||
void adjusterChanged (Adjuster* a, double newval);
|
||||
void avoidclip_toggled ();
|
||||
void enablelimiter_toggled ();
|
||||
void avoidcolorshift_toggled ();
|
||||
void bwtoning_toggled();
|
||||
void updateCurveBackgroundHistogram (LUTu & histToneCurve, LUTu & histLCurve, LUTu & histRed, LUTu & histGreen, LUTu & histBlue, LUTu & histLuma);
|
||||
|
||||
|
Reference in New Issue
Block a user