RGB curves: option for luminosity mode (issue 1607)

Thanks for help, Jacques!
This commit is contained in:
michael
2013-02-16 22:16:06 -05:00
parent 8ecdb0fdc1
commit d7195e6c38
25 changed files with 160 additions and 29 deletions

View File

@@ -34,6 +34,10 @@ class RGBCurves : public Gtk::VBox, public AdjusterListener, public FoldableTool
DiagonalCurveEditor* Gshape;
DiagonalCurveEditor* Bshape;
Gtk::CheckButton* lumamode;
bool lastLumamode;
sigc::connection lumamodeConn;
public:
RGBCurves ();
@@ -46,6 +50,7 @@ class RGBCurves : public Gtk::VBox, public AdjusterListener, public FoldableTool
void curveChanged (CurveEditor* ce);
void updateCurveBackgroundHistogram (LUTu & histToneCurve, LUTu & histLCurve, LUTu & histCCurve, LUTu & histLCAM, LUTu & histCCAM, LUTu & histRed, LUTu & histGreen, LUTu & histBlue, LUTu & histLuma);
void lumamodeChanged ();
};
#endif