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

@@ -106,14 +106,18 @@ void FilmSimulation::enabledChanged ()
}
}
void FilmSimulation::adjusterChanged( Adjuster* a, double newval )
void FilmSimulation::adjusterChanged(Adjuster* a, double newval)
{
if (listener && (multiImage || getEnabled()) ) {
Glib::ustring value = a->getTextValue();
listener->panelChanged ( EvFilmSimulationStrength, value );
if (listener && (multiImage || getEnabled())) {
const Glib::ustring value = a->getTextValue();
listener->panelChanged(EvFilmSimulationStrength, value);
}
}
void FilmSimulation::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void FilmSimulation::setBatchMode( bool batchMode )
{
ToolPanel::setBatchMode( batchMode );