Dehaz enhancement HSL GUI bugs partialpaste...

This commit is contained in:
Desmis
2015-09-09 20:01:27 +02:00
parent 6cdc6e1fe4
commit 528d85b1f9
24 changed files with 273 additions and 40 deletions

View File

@@ -20,6 +20,7 @@ class Dehaz : public ToolParamBlock, public FoldableToolPanel, public rtengine:
protected:
CurveEditorGroup* curveEditorGD;
CurveEditorGroup* curveEditorGDH;
Adjuster* str;
Adjuster* scal;
Adjuster* neigh;
@@ -27,6 +28,7 @@ protected:
Adjuster* offs;
Adjuster* vart;
Adjuster* limd;
MyExpander* expretinex;
Gtk::Label* labmdh;
Gtk::HBox* dhbox;
@@ -48,6 +50,7 @@ protected:
Gtk::Label* transLabels;
DiagonalCurveEditor* cdshape;
DiagonalCurveEditor* cdshapeH;
CurveEditorGroup* transmissionCurveEditorG;
sigc::connection dehazmetConn;
sigc::connection dehazColorSpaceConn;
@@ -65,7 +68,6 @@ public:
void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = NULL);
void trimValues (rtengine::procparams::ProcParams* pp);
void adjusterChanged (Adjuster* a, double newval);
// void setAdjusterBehavior (bool splitAdd, bool satThresholdAdd, bool satOpacityAdd, bool strprotectAdd, bool balanceAdd);
void autoOpenCurve ();
void retinexChanged ();
void medianmapChanged ();
@@ -79,6 +81,13 @@ public:
void dehazmetChanged();
void dehazColorSpaceChanged();
void retinexUpdateUI();
void ColorSpaceUpdateUI();
void writeOptions (std::vector<int> &tpOpen);
void updateToolState (std::vector<int> &tpOpen);
void setAdjusterBehavior (bool strAdd, bool neighAdd, bool scalAdd, bool limdAdd, bool gainAdd, bool offsAdd, bool vartAdd);
private:
void foldAllButMe (GdkEventButton* event, MyExpander *expander);
};