New curve editor, first batch (parametric curves, overlaid histogram in curve area)

This commit is contained in:
ghorvath
2010-04-16 08:44:41 +00:00
parent fbcf2a187b
commit 71b74bbfd2
46 changed files with 1579 additions and 1248 deletions

View File

@@ -29,25 +29,23 @@ class LCurve : public Gtk::VBox, public AdjusterListener, public ToolPanel, publ
protected:
Adjuster* brightness;
Adjuster* black;
Adjuster* contrast;
Adjuster* hlcompr;
Adjuster* shcompr;
CurveEditor* shape;
Gtk::Expander* curvexp;
bool brAdd, contrAdd;
public:
LCurve ();
void read (const rtengine::procparams::ProcParams* pp);
void write (rtengine::procparams::ProcParams* pp);
void setDefaults (const rtengine::procparams::ProcParams* defParams);
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited=NULL);
void write (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited=NULL);
void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited=NULL);
void setBatchMode (bool batchMode);
void setAdjusterBehavior (bool bradd, bool contradd);
void curveChanged ();
void adjusterChanged (Adjuster* a, double newval);
void expandCurve (bool isExpanded);
bool isCurveExpanded ();
void updateCurveBackgroundHistogram (unsigned* hist);
};
#endif