Turn almost all Listeners into abstract interfaces
This commit is contained in:
@@ -314,7 +314,6 @@ void PrSharpening::setDefaults (const ProcParams* defParams, const ParamsEdited*
|
||||
|
||||
void PrSharpening::adjusterChanged (Adjuster* a, double newval)
|
||||
{
|
||||
|
||||
if (listener && (multiImage || getEnabled()) ) {
|
||||
|
||||
Glib::ustring costr;
|
||||
@@ -351,9 +350,12 @@ void PrSharpening::adjusterChanged (Adjuster* a, double newval)
|
||||
}
|
||||
}
|
||||
|
||||
void PrSharpening::adjusterAutoToggled(Adjuster* a, bool newval)
|
||||
{
|
||||
}
|
||||
|
||||
void PrSharpening::enabledChanged ()
|
||||
{
|
||||
|
||||
if (listener) {
|
||||
if (get_inconsistent()) {
|
||||
listener->panelChanged (EvPrShrEnabled, M("GENERAL_UNCHANGED"));
|
||||
@@ -455,7 +457,19 @@ void PrSharpening::method_changed ()
|
||||
|
||||
}
|
||||
|
||||
void PrSharpening::adjusterChanged (ThresholdAdjuster* a, int newBottomL, int newTopL, int newBottomR, int newTopR)
|
||||
void PrSharpening::adjusterChanged(ThresholdAdjuster* a, double newBottom, double newTop)
|
||||
{
|
||||
}
|
||||
|
||||
void PrSharpening::adjusterChanged(ThresholdAdjuster* a, double newBottomLeft, double newTopLeft, double newBottomRight, double newTopRight)
|
||||
{
|
||||
}
|
||||
|
||||
void PrSharpening::adjusterChanged(ThresholdAdjuster* a, int newBottom, int newTop)
|
||||
{
|
||||
}
|
||||
|
||||
void PrSharpening::adjusterChanged(ThresholdAdjuster* a, int newBottomLeft, int newTopLeft, int newBottomRight, int newTopRight)
|
||||
{
|
||||
if (listener && (multiImage || getEnabled()) ) {
|
||||
if(a == threshold) {
|
||||
@@ -464,6 +478,10 @@ void PrSharpening::adjusterChanged (ThresholdAdjuster* a, int newBottomL, int ne
|
||||
}
|
||||
}
|
||||
|
||||
void PrSharpening::adjusterChanged2(ThresholdAdjuster* a, int newBottomL, int newTopL, int newBottomR, int newTopR)
|
||||
{
|
||||
}
|
||||
|
||||
void PrSharpening::setBatchMode (bool batchMode)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user