Merge pull request #4857 from Beep6581/abstract-listeners
Turn Listeners into abstract interfaces
This commit is contained in:
@@ -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 ()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user