dehaze: added more user-controllable parameters

This commit is contained in:
Alberto Griggio
2018-10-11 13:43:45 +02:00
parent 83f5205006
commit 74ae459bf2
8 changed files with 190 additions and 12 deletions

View File

@@ -27,9 +27,15 @@ class Dehaze: public ToolParamBlock, public AdjusterListener, public FoldableToo
{
private:
Adjuster *strength;
Adjuster *depth;
Adjuster *detail;
Gtk::CheckButton *showDepthMap;
rtengine::ProcEvent EvDehazeEnabled;
rtengine::ProcEvent EvDehazeStrength;
rtengine::ProcEvent EvDehazeDepth;
rtengine::ProcEvent EvDehazeDetail;
rtengine::ProcEvent EvDehazeShowDepthMap;
public:
@@ -42,6 +48,7 @@ public:
void adjusterChanged(Adjuster *a, double newval);
void enabledChanged();
void showDepthMapChanged();
void setAdjusterBehavior(bool strengthAdd);
};