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

@@ -88,14 +88,17 @@ void PerspCorrection::setDefaults (const ProcParams* defParams, const ParamsEdit
}
}
void PerspCorrection::adjusterChanged (Adjuster* a, double newval)
void PerspCorrection::adjusterChanged(Adjuster* a, double newval)
{
if (listener) {
listener->panelChanged (EvPerspCorr, Glib::ustring::compose ("%1=%3\n%2=%4", M("TP_PERSPECTIVE_HORIZONTAL"), M("TP_PERSPECTIVE_VERTICAL"), horiz->getValue(), vert->getValue()));
}
}
void PerspCorrection::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void PerspCorrection::setAdjusterBehavior (bool badd)
{