Used new CheckBox in rawcacorrection; don't zero red and blue when autoca is enabled
This commit is contained in:
@@ -21,19 +21,17 @@
|
||||
|
||||
#include <gtkmm.h>
|
||||
#include "adjuster.h"
|
||||
#include "checkbox.h"
|
||||
#include "toolpanel.h"
|
||||
#include "../rtengine/rawimage.h"
|
||||
|
||||
class RAWCACorr : public ToolParamBlock, public AdjusterListener, public FoldableToolPanel
|
||||
class RAWCACorr : public ToolParamBlock, public AdjusterListener, public CheckBoxListener, public FoldableToolPanel
|
||||
{
|
||||
|
||||
protected:
|
||||
Gtk::CheckButton* caAutocorrect;
|
||||
CheckBox* caAutocorrect;
|
||||
Adjuster* caStrength;
|
||||
Adjuster* caRed;
|
||||
Adjuster* caBlue;
|
||||
bool lastCA;
|
||||
sigc::connection caacsconn;
|
||||
|
||||
public:
|
||||
|
||||
@@ -47,7 +45,7 @@ public:
|
||||
void trimValues (rtengine::procparams::ProcParams* pp);
|
||||
|
||||
void adjusterChanged (Adjuster* a, double newval);
|
||||
void caCorrectionChanged ();
|
||||
void checkBoxToggled (CheckBox* c, CheckValue newval);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user