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

@@ -521,9 +521,8 @@ void LCurve::curveChanged (CurveEditor* ce)
}
}
void LCurve::adjusterChanged (Adjuster* a, double newval)
void LCurve::adjusterChanged(Adjuster* a, double newval)
{
Glib::ustring costr;
if (a == brightness) {
@@ -565,6 +564,10 @@ void LCurve::adjusterChanged (Adjuster* a, double newval)
}
}
void LCurve::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void LCurve::colorForValue (double valX, double valY, enum ColorCaller::ElemType elemType, int callerId, ColorCaller *caller)
{
@@ -642,14 +645,21 @@ void LCurve::setBatchMode (bool batchMode)
}
void LCurve::updateCurveBackgroundHistogram (LUTu & histToneCurve, LUTu & histLCurve, LUTu & histCCurve,/* LUTu & histCLurve, LUTu & histLLCurve,*/ LUTu & histLCAM, LUTu & histCCAM, LUTu & histRed, LUTu & histGreen, LUTu & histBlue, LUTu & histLuma, LUTu & histLRETI)
void LCurve::updateCurveBackgroundHistogram(
const LUTu& histToneCurve,
const LUTu& histLCurve,
const LUTu& histCCurve,
const LUTu& histLCAM,
const LUTu& histCCAM,
const LUTu& histRed,
const LUTu& histGreen,
const LUTu& histBlue,
const LUTu& histLuma,
const LUTu& histLRETI
)
{
lshape->updateBackgroundHistogram (histLCurve);
ccshape->updateBackgroundHistogram (histCCurve);
// clshape->updateBackgroundHistogram (histCLurve);
// lcshape->updateBackgroundHistogram (histLLCurve);
}
void LCurve::setAdjusterBehavior (bool bradd, bool contradd, bool satadd)