Added Contrast threshold adjuster to PR Sharpening, fixed some bugs, #4551
This commit is contained in:
@@ -28,6 +28,7 @@ class PrSharpening : public ToolParamBlock, public ThresholdAdjusterListener, pu
|
||||
{
|
||||
|
||||
protected:
|
||||
Adjuster* contrast;
|
||||
MyComboBoxText* method;
|
||||
Adjuster* dradius;
|
||||
Adjuster* damount;
|
||||
@@ -52,7 +53,7 @@ protected:
|
||||
Gtk::CheckButton* halocontrol;
|
||||
bool lastHaloControl;
|
||||
sigc::connection hcConn;
|
||||
|
||||
rtengine::ProcEvent EvPrShrContrast;
|
||||
public:
|
||||
|
||||
PrSharpening ();
|
||||
@@ -70,7 +71,7 @@ public:
|
||||
void method_changed ();
|
||||
void adjusterChanged (ThresholdAdjuster* a, int newBottomL, int newTopL, int newBottomR, int newTopR);
|
||||
|
||||
void setAdjusterBehavior (bool radiusadd, bool amountadd, bool dampingadd, bool iteradd, bool edgetoladd, bool haloctrladd);
|
||||
void setAdjusterBehavior (bool contrastadd, bool radiusadd, bool amountadd, bool dampingadd, bool iteradd, bool edgetoladd, bool haloctrladd);
|
||||
void trimValues (rtengine::procparams::ProcParams* pp);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user