Merge pull request #4857 from Beep6581/abstract-listeners

Turn Listeners into abstract interfaces
This commit is contained in:
Beep6581
2018-10-17 14:22:11 +02:00
committed by GitHub
159 changed files with 1385 additions and 939 deletions

View File

@@ -152,10 +152,8 @@ void ShadowsHighlights::setDefaults (const ProcParams* defParams, const ParamsEd
void ShadowsHighlights::adjusterChanged (Adjuster* a, double newval)
{
if (listener && getEnabled()) {
Glib::ustring costr = Glib::ustring::format ((int)a->getValue());
const Glib::ustring costr = Glib::ustring::format ((int)a->getValue());
if (a == highlights) {
listener->panelChanged (EvSHHighlights, costr);
@@ -171,6 +169,10 @@ void ShadowsHighlights::adjusterChanged (Adjuster* a, double newval)
}
}
void ShadowsHighlights::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void ShadowsHighlights::enabledChanged ()
{