Turn almost all Listeners into abstract interfaces

This commit is contained in:
Flössie
2018-10-09 20:32:40 +02:00
parent 2a9d3896bb
commit 2125f42116
159 changed files with 1385 additions and 939 deletions

View File

@@ -247,10 +247,9 @@ void Gradient::setDefaults (const ProcParams* defParams, const ParamsEdited* ped
}
}
void Gradient::adjusterChanged (Adjuster* a, double newval)
void Gradient::adjusterChanged(Adjuster* a, double newval)
{
updateGeometry (int(centerX->getValue()), int(centerY->getValue()), feather->getValue(), degree->getValue());
updateGeometry(int(centerX->getValue()), int(centerY->getValue()), feather->getValue(), degree->getValue());
if (listener && getEnabled()) {
@@ -266,6 +265,10 @@ void Gradient::adjusterChanged (Adjuster* a, double newval)
}
}
void Gradient::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void Gradient::enabledChanged ()
{